Mercurial > public > sg101
annotate gpp/settings/test.py @ 504:b5bd3509e6e6
Made some tweaks to the ajax login javascript.
Cleared the inputs on failure so someone won't repeatedly try a bad login.
Redirect on lockout so the page will refresh.
Set focus on the username box after failure for convenience.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 03 Dec 2011 16:25:15 +0000 |
parents | 1a09a7bea000 |
children | 82b97697312e |
rev | line source |
---|---|
bgneal@499 | 1 """ |
bgneal@499 | 2 Settings to use when running tests. Uses sqlite for speed. |
bgneal@499 | 3 |
bgneal@499 | 4 """ |
bgneal@499 | 5 from settings.base import * |
bgneal@499 | 6 |
bgneal@499 | 7 DATABASES = { |
bgneal@499 | 8 'default': { |
bgneal@499 | 9 'ENGINE': 'django.db.backends.sqlite3', |
bgneal@499 | 10 'NAME': 'dev.db', |
bgneal@499 | 11 }, |
bgneal@499 | 12 } |
bgneal@499 | 13 |
bgneal@499 | 14 # For unit-testing the Donations module w/o using the Paypal sandbox |
bgneal@499 | 15 DONATIONS_DEBUG_VERIFY_RESPONSE = 'VERIFIED' |
bgneal@499 | 16 DONATIONS_BUSINESS_DEBUG = 'brian@surfguitar101.com' |