PageRenderTime 18ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/tests/test_project/settings.py

https://bitbucket.org/cklein/django-piston
Python | 25 lines | 23 code | 2 blank | 0 comment | 0 complexity | f4e7c676e571a0338315cf136b382c7f MD5 | raw file
 1import os
 2DEBUG = True
 3DATABASE_ENGINE = 'sqlite3'
 4DATABASE_NAME = '/tmp/piston.db'
 5INSTALLED_APPS = (
 6    'django.contrib.auth', 
 7    'django.contrib.contenttypes', 
 8    'django.contrib.sessions', 
 9    'django.contrib.sites',
10    'piston',
11    'test_project.apps.testapp',
12)
13TEMPLATE_DIRS = (
14    os.path.join(os.path.dirname(__file__), 'templates'),
15)
16
17SITE_ID = 1
18ROOT_URLCONF = 'test_project.urls'
19
20MIDDLEWARE_CLASSES = (
21    'piston.middleware.ConditionalMiddlewareCompatProxy',
22    'django.contrib.sessions.middleware.SessionMiddleware',
23    'piston.middleware.CommonMiddlewareCompatProxy',
24    'django.contrib.auth.middleware.AuthenticationMiddleware',
25)