aboutsummaryrefslogtreecommitdiffstats
path: root/src/shorturls/testsettings.py
blob: 1f66f848cb958dde6c8f8ec5061bb12e52eefc48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import os

DEBUG = TEMPLATE_DEBUG = True
SECRET_KEY = '123'

# For Pre-Django 1.3
DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = '/tmp/shorturls.db'

# For Django 1.3 and beyond
DATABASES = {
  'default': {
    'ENGINE': 'django.db.backends.sqlite3'
  }
}

INSTALLED_APPS = ['shorturls']
ROOT_URLCONF = ['shorturls.urls']
TEMPLATE_DIRS = (os.path.join(os.path.dirname(__file__), 'tests', 'templates'),)