PageRenderTime 25ms CodeModel.GetById 16ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/settings.py

http://radioappz.googlecode.com/
Python | 37 lines | 34 code | 3 blank | 0 comment | 0 complexity | 30c20a40b4624f5d9ca15f919055bd60 MD5 | raw file
 1import os
 2
 3DEBUG = False
 4TEMPLATE_DEBUG = DEBUG
 5
 6APPEND_SLASH = False
 7LANGUAGE_CODE = 'en-us'
 8
 9SITE_ID = 1
10USE_I18N = True
11ADMIN_MEDIA_PREFIX = '/media/'
12SECRET_KEY = ''
13
14SESSION_ENGINE = 'sessions.backends.datastore'
15
16# List of callables that know how to import templates from various sources.
17TEMPLATE_LOADERS = (
18    'django.template.loaders.filesystem.load_template_source',
19    'django.template.loaders.app_directories.load_template_source',
20)
21
22MIDDLEWARE_CLASSES = (
23    'django.middleware.common.CommonMiddleware',
24    'django.contrib.sessions.middleware.SessionMiddleware',
25    'django.middleware.doc.XViewMiddleware',
26)
27
28INSTALLED_APPS = (
29	'django.contrib.sessions',
30)
31
32ROOT_URLCONF = 'urls'
33
34ROOT_PATH = os.path.dirname(__file__)
35TEMPLATE_DIRS = (
36    os.path.join(ROOT_PATH, 'templates') 
37)