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

DEBUG = TEMPLATE_DEBUG = True

# 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')