/settings.py
http://radioappz.googlecode.com/ · Python · 37 lines · 27 code · 9 blank · 1 comment · 0 complexity · 30c20a40b4624f5d9ca15f919055bd60 MD5 · raw file
- import os
- DEBUG = False
- TEMPLATE_DEBUG = DEBUG
- APPEND_SLASH = False
- LANGUAGE_CODE = 'en-us'
- SITE_ID = 1
- USE_I18N = True
- ADMIN_MEDIA_PREFIX = '/media/'
- SECRET_KEY = ''
- SESSION_ENGINE = 'sessions.backends.datastore'
- # 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',
- )
- MIDDLEWARE_CLASSES = (
- 'django.middleware.common.CommonMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.middleware.doc.XViewMiddleware',
- )
- INSTALLED_APPS = (
- 'django.contrib.sessions',
- )
- ROOT_URLCONF = 'urls'
- ROOT_PATH = os.path.dirname(__file__)
- TEMPLATE_DIRS = (
- os.path.join(ROOT_PATH, 'templates')
- )