Mercurial > public > bravenewsurf
view bns_website/settings/test.py @ 40:5c0f9d80442e
I added a news template tag that's a blatant rip off of Chris' review one.
author | Bob Mourlam <bob.mourlam@gmail.com> |
---|---|
date | Sun, 06 Nov 2011 21:16:22 -0600 |
parents | 71f2941161e9 |
children |
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.base import * from settings.local import * DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'test.db', }, }