Source

django-piston / tests / test_project / settings.py

Horst Gutmann 96b8eea 

Joshua Ginsberg 7c90898 






Horst Gutmann 96b8eea 





Jesper Nøhr 1d6bbc7 
Joshua Ginsberg 8744863 
Horst Gutmann 96b8eea 





Jesper Nøhr 1d6bbc7 

Horst Gutmann 96b8eea 
Jesper Nøhr b0a1571 


James Emerton 2016dcd 
Jesper Nøhr b0a1571 
James Emerton 2016dcd 
import os
DEBUG = True
DATABASES = {
    'default':
        {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': '/tmp/piston.db'
    }
}
DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = '/tmp/piston.db'
INSTALLED_APPS = (
    'django.contrib.auth', 
    'django.contrib.contenttypes', 
    'django.contrib.sessions', 
    'django.contrib.sites',
    'django.contrib.admin',
    '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',
)