2005-07-16 06:36:26 +08:00
|
|
|
# Django settings for {{ project_name }} project.
|
2005-07-13 09:25:57 +08:00
|
|
|
|
2005-07-16 06:29:10 +08:00
|
|
|
DEBUG = True
|
2005-11-24 07:10:17 +08:00
|
|
|
TEMPLATE_DEBUG = DEBUG
|
2005-07-13 09:25:57 +08:00
|
|
|
|
|
|
|
ADMINS = (
|
|
|
|
# ('Your Name', 'your_email@domain.com'),
|
|
|
|
)
|
|
|
|
|
|
|
|
MANAGERS = ADMINS
|
|
|
|
|
2005-10-15 09:37:16 +08:00
|
|
|
DATABASE_ENGINE = 'postgresql' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
|
2005-07-22 12:18:03 +08:00
|
|
|
DATABASE_NAME = '' # Or path to database file if using sqlite3.
|
|
|
|
DATABASE_USER = '' # Not used with sqlite3.
|
|
|
|
DATABASE_PASSWORD = '' # Not used with sqlite3.
|
|
|
|
DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
|
2005-10-14 11:43:01 +08:00
|
|
|
DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
|
2005-07-13 09:25:57 +08:00
|
|
|
|
2005-10-20 00:03:24 +08:00
|
|
|
# Local time zone for this installation. All choices can be found here:
|
|
|
|
# http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
|
|
|
|
TIME_ZONE = 'America/Chicago'
|
|
|
|
|
|
|
|
# Language code for this installation. All choices can be found here:
|
|
|
|
# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
|
|
|
|
# http://blogs.law.harvard.edu/tech/stories/storyReader$15
|
|
|
|
LANGUAGE_CODE = 'en-us'
|
|
|
|
|
2005-07-16 11:48:36 +08:00
|
|
|
SITE_ID = 1
|
|
|
|
|
2005-07-13 09:25:57 +08:00
|
|
|
# Absolute path to the directory that holds media.
|
|
|
|
# Example: "/home/media/media.lawrence.com/"
|
|
|
|
MEDIA_ROOT = ''
|
|
|
|
|
|
|
|
# URL that handles the media served from MEDIA_ROOT.
|
|
|
|
# Example: "http://media.lawrence.com"
|
|
|
|
MEDIA_URL = ''
|
|
|
|
|
2005-10-19 09:09:05 +08:00
|
|
|
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
|
|
|
|
# trailing slash.
|
|
|
|
# Examples: "http://foo.com/media/", "/media/".
|
|
|
|
ADMIN_MEDIA_PREFIX = '/media/'
|
|
|
|
|
2005-07-20 08:37:45 +08:00
|
|
|
# Make this unique, and don't share it with anybody.
|
|
|
|
SECRET_KEY = ''
|
|
|
|
|
2005-10-17 10:37:50 +08:00
|
|
|
# List of callables that know how to import templates from various sources.
|
|
|
|
TEMPLATE_LOADERS = (
|
|
|
|
'django.core.template.loaders.filesystem.load_template_source',
|
2005-10-19 09:09:05 +08:00
|
|
|
'django.core.template.loaders.app_directories.load_template_source',
|
2005-10-17 10:37:50 +08:00
|
|
|
# 'django.core.template.loaders.eggs.load_template_source',
|
|
|
|
)
|
|
|
|
|
2005-08-16 08:41:42 +08:00
|
|
|
MIDDLEWARE_CLASSES = (
|
|
|
|
"django.middleware.common.CommonMiddleware",
|
2005-10-19 09:09:05 +08:00
|
|
|
"django.middleware.sessions.SessionMiddleware",
|
2005-08-16 08:41:42 +08:00
|
|
|
"django.middleware.doc.XViewMiddleware",
|
|
|
|
)
|
|
|
|
|
2005-10-19 09:09:05 +08:00
|
|
|
ROOT_URLCONF = '{{ project_name }}.urls'
|
2005-07-17 06:58:29 +08:00
|
|
|
|
2005-07-13 09:25:57 +08:00
|
|
|
TEMPLATE_DIRS = (
|
|
|
|
# Put strings here, like "/home/html/django_templates".
|
2005-12-31 12:03:40 +08:00
|
|
|
# Always use forward slashes, even on Windows.
|
2005-07-13 09:25:57 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
INSTALLED_APPS = (
|
|
|
|
)
|