/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
- import os
- DEBUG = True
- DATABASE_ENGINE = 'sqlite3'
- DATABASE_NAME = '/tmp/piston.db'
- INSTALLED_APPS = (
- 'django.contrib.auth',
- 'django.contrib.contenttypes',
- 'django.contrib.sessions',
- 'django.contrib.sites',
- 'piston',
- 'test_project.apps.testapp',
- )
- TEMPLATE_DIRS = (
- os.path.join(os.path.dirname(__file__), 'templates'),
- )
- SITE_ID = 1
- ROOT_URLCONF = 'test_project.urls'
- MIDDLEWARE_CLASSES = (
- 'piston.middleware.ConditionalMiddlewareCompatProxy',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'piston.middleware.CommonMiddlewareCompatProxy',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
- )