view gpp/test_settings.py @ 238:a3b47d0f4df1

Exempt the Paypal IPN view from CSRF protection for #91.
author Brian Neal <bgneal@gmail.com>
date Sun, 12 Sep 2010 04:04:42 +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',
    },
}