diff options
Diffstat (limited to 'django/conf/project_template/settings.py')
| -rw-r--r-- | django/conf/project_template/settings.py | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/django/conf/project_template/settings.py b/django/conf/project_template/settings.py new file mode 100644 index 0000000000..838375cbb7 --- /dev/null +++ b/django/conf/project_template/settings.py @@ -0,0 +1,58 @@ +# Django settings for {{ project_name }} project. + +DEBUG = True + +ADMINS = ( + # ('Your Name', 'your_email@domain.com'), +) + +MANAGERS = ADMINS + +LANGUAGE_CODE = 'en-us' + +DATABASE_ENGINE = 'postgresql' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. +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. +DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. + +SITE_ID = 1 + +# 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 = '' + +# 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/' + +# Make this unique, and don't share it with anybody. +SECRET_KEY = '' + +# List of callables that know how to import templates from various sources. +TEMPLATE_LOADERS = ( + 'django.core.template.loaders.filesystem.load_template_source', + 'django.core.template.loaders.app_directories.load_template_source', +# 'django.core.template.loaders.eggs.load_template_source', +) + +MIDDLEWARE_CLASSES = ( + "django.middleware.common.CommonMiddleware", + "django.middleware.sessions.SessionMiddleware", + "django.middleware.doc.XViewMiddleware", +) + +ROOT_URLCONF = '{{ project_name }}.urls' + +TEMPLATE_DIRS = ( + # Put strings here, like "/home/html/django_templates". +) + +INSTALLED_APPS = ( +) |
