Mercurial > public > sg101
view gpp/test_settings.py @ 285:8fd4984d5c3b
This is a first rough commit for #95, adding the ability to embed YouTube videos in forum posts. Some more polish and testing needs to happen at this point. I wanted to get all these changes off my hard drive and into the repository.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 14 Oct 2010 02:39:35 +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', }, }