Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (38 sloc) 1.38 KB
# -*- coding: utf-8 -*-
from os import path
working_dir = path.dirname(path.abspath(__file__))
from config import *
APPLICATION_ROOT=path.join(path.dirname(path.abspath(__file__)))
# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source',
'django.template.loaders.eggs.load_template_source',
)
# AUTHENTICATION_BACKENDS = ('keykeeper.libopenid.OpenidBackend',)
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
)
ROOT_URLCONF = 'testproject.urls'
SESSION_SAVE_EVERY_REQUEST = True
SESSION_COOKIE_NAME = 'testproject_id'
TEMPLATE_DIRS = (
path.join(APPLICATION_ROOT, 'template/')
)
TEMPLATE_CONTEXT_PROCESSORS = (
"django.core.context_processors.auth",
"django.core.context_processors.media",
"django.core.context_processors.request",
)
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'testapi',
# OK, this is not really installed, but we want our testsuite to eat it
'djangohttpdigest',
)
TEST_DATABASE_CHARSET="utf8"
#TEST_RUNNER='djangosanetesting.testrunner.DstNoseTestSuiteRunner'