view gpp/settings/test.py @ 532:ff67946fd4b0

For #242, move the updating of the POTD sequence into a new signals module. When photos are deleted from the admin changelist in bulk, the individual delete() functions on the photo objects is not called. However, the post_delete signal is called for each object.
author Brian Neal <bgneal@gmail.com>
date Sun, 25 Dec 2011 04:15:32 +0000
parents 82b97697312e
children
line wrap: on
line source
"""
Settings to use when running tests. Uses sqlite for speed.

"""
from settings.base import *

# Use a different database in Redis for tests
REDIS_DB = 14
QUEUE_REDIS_DB = 14
BROKER_URL = 'redis://localhost:6379/15'
CELERY_REDIS_DB = 15

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': 'dev.db',
    },
}

# For unit-testing the Donations module w/o using the Paypal sandbox
DONATIONS_DEBUG_VERIFY_RESPONSE = 'VERIFIED'
DONATIONS_BUSINESS_DEBUG = 'brian@surfguitar101.com'