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
|
|
|
|
|
2007-06-26 20:58:42 +08:00
|
|
|
DATABASE_ENGINE = '' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
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
|
|
|
|
2007-03-08 11:41:04 +08:00
|
|
|
# Local time zone for this installation. Choices can be found here:
|
2006-12-15 23:56:42 +08:00
|
|
|
# http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
|
2007-03-08 11:41:04 +08:00
|
|
|
# although not all variations may be possible on all operating systems.
|
2007-02-12 08:10:09 +08:00
|
|
|
# If running in a Windows environment this must be set to the same as your
|
|
|
|
# system time zone.
|
2005-10-20 00:03:24 +08:00
|
|
|
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
|
|
|
|
|
2006-08-18 11:42:28 +08:00
|
|
|
# If you set this to False, Django will make some optimizations so as not
|
|
|
|
# to load the internationalization machinery.
|
|
|
|
USE_I18N = True
|
|
|
|
|
2005-07-13 09:25:57 +08:00
|
|
|
# Absolute path to the directory that holds media.
|
|
|
|
# Example: "/home/media/media.lawrence.com/"
|
|
|
|
MEDIA_ROOT = ''
|
|
|
|
|
2007-06-01 18:00:00 +08:00
|
|
|
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
|
|
|
|
# trailing slash if there is a path component (optional in other cases).
|
|
|
|
# Examples: "http://media.lawrence.com", "http://example.com/media/"
|
2005-07-13 09:25:57 +08:00
|
|
|
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 = (
|
2006-05-02 09:31:56 +08:00
|
|
|
'django.template.loaders.filesystem.load_template_source',
|
|
|
|
'django.template.loaders.app_directories.load_template_source',
|
|
|
|
# 'django.template.loaders.eggs.load_template_source',
|
2005-10-17 10:37:50 +08:00
|
|
|
)
|
|
|
|
|
2005-08-16 08:41:42 +08:00
|
|
|
MIDDLEWARE_CLASSES = (
|
2006-05-26 12:05:02 +08:00
|
|
|
'django.middleware.common.CommonMiddleware',
|
|
|
|
'django.contrib.sessions.middleware.SessionMiddleware',
|
|
|
|
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
|
|
|
'django.middleware.doc.XViewMiddleware',
|
2005-08-16 08:41:42 +08:00
|
|
|
)
|
|
|
|
|
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 = (
|
2006-08-05 09:48:33 +08:00
|
|
|
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
|
2005-12-31 12:03:40 +08:00
|
|
|
# Always use forward slashes, even on Windows.
|
2006-08-05 09:48:33 +08:00
|
|
|
# Don't forget to use absolute paths, not relative paths.
|
2005-07-13 09:25:57 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
INSTALLED_APPS = (
|
2006-05-02 09:31:56 +08:00
|
|
|
'django.contrib.auth',
|
|
|
|
'django.contrib.contenttypes',
|
|
|
|
'django.contrib.sessions',
|
|
|
|
'django.contrib.sites',
|
2005-07-13 09:25:57 +08:00
|
|
|
)
|