view gpp/test_settings.py @ 229:08b30ac04580

Who's online middleware wasn't returning a proper response in the is_ajax case.
author Brian Neal <bgneal@gmail.com>
date Tue, 13 Jul 2010 01:25:48 +0000
parents 28988cce138b
children 767cedc7d12a
line wrap: on
line source
"""
Settings to use when running tests. Uses sqlite for speed.
This idea was taken from
http://blog.davidziegler.net/post/370368042/test-database-settings-in-django
"""
from settings import *

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': 'dev.db',
    },
}