Mercurial > public > sg101
view gpp/test_settings.py @ 227:423c39ee44e0
Rework the who's online middleware and template tag for #87.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 06 Jul 2010 03:02:20 +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', }, }