Mercurial > public > sg101
view gpp/test_settings.py @ 257:6e7e84707e7d
Fix #106: CSRF verification failures on the deleting of checked PMs.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 21 Sep 2010 01:16:02 +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', }, }