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-07-13 09:25:57 +08:00
|
|
|
|
|
|
|
ADMINS = (
|
|
|
|
# ('Your Name', 'your_email@domain.com'),
|
|
|
|
)
|
|
|
|
|
|
|
|
MANAGERS = ADMINS
|
|
|
|
|
|
|
|
LANGUAGE_CODE = 'en-us'
|
|
|
|
|
2005-07-22 12:18:03 +08:00
|
|
|
DATABASE_ENGINE = 'postgresql' # 'postgresql', 'mysql', or 'sqlite3'.
|
|
|
|
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-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-07-20 08:37:45 +08:00
|
|
|
# Make this unique, and don't share it with anybody.
|
|
|
|
SECRET_KEY = ''
|
|
|
|
|
2005-08-16 08:41:42 +08:00
|
|
|
MIDDLEWARE_CLASSES = (
|
|
|
|
"django.middleware.common.CommonMiddleware",
|
|
|
|
"django.middleware.doc.XViewMiddleware",
|
|
|
|
)
|
|
|
|
|
2005-07-17 06:58:29 +08:00
|
|
|
ROOT_URLCONF = '{{ project_name }}.settings.urls.main'
|
|
|
|
|
2005-07-13 09:25:57 +08:00
|
|
|
TEMPLATE_DIRS = (
|
|
|
|
# Put strings here, like "/home/html/django_templates".
|
|
|
|
)
|
|
|
|
|
|
|
|
INSTALLED_APPS = (
|
|
|
|
)
|