Mercurial > public > bravenewsurf
comparison bns_website/settings/test.py @ 3:71f2941161e9
Created a generic view (for now) to display a home page.
Wrote a test for the home page. Created a test settings file that uses sqlite.
Created simple 404, 500, base, and home page templates.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 28 Oct 2011 20:32:29 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:920ba6593732 | 3:71f2941161e9 |
---|---|
1 """ | |
2 Settings to use when running tests. Uses sqlite for speed. | |
3 This idea was taken from | |
4 http://blog.davidziegler.net/post/370368042/test-database-settings-in-django | |
5 | |
6 """ | |
7 from settings.base import * | |
8 from settings.local import * | |
9 | |
10 DATABASES = { | |
11 'default': { | |
12 'ENGINE': 'django.db.backends.sqlite3', | |
13 'NAME': 'test.db', | |
14 }, | |
15 } |