[6180] | 1 | # Django settings for exodus project.
|
---|
[6216] | 2 | import os
|
---|
[6178] | 3 |
|
---|
[6219] | 4 | DJANGOROOT= os.path.join(os.path.dirname(__file__), '..')
|
---|
[6180] | 5 |
|
---|
[6178] | 6 | DEBUG = True
|
---|
| 7 | TEMPLATE_DEBUG = DEBUG
|
---|
| 8 |
|
---|
| 9 | ADMINS = (
|
---|
[6201] | 10 | ('Administrator', 'admin@example.org'),
|
---|
[6178] | 11 | )
|
---|
| 12 |
|
---|
| 13 | MANAGERS = ADMINS
|
---|
| 14 |
|
---|
| 15 | DATABASE_ENGINE = 'sqlite3' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
|
---|
[6180] | 16 | DATABASE_NAME = DJANGOROOT + '/sqllite.db' # Or path to database file if using sqlite3.
|
---|
[6178] | 17 | DATABASE_USER = 'roland' # Not used with sqlite3.
|
---|
| 18 | DATABASE_PASSWORD = '' # Not used with sqlite3.
|
---|
| 19 | DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
|
---|
| 20 | DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
|
---|
| 21 |
|
---|
| 22 | # Local time zone for this installation. All choices can be found here:
|
---|
| 23 | # http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
|
---|
| 24 | TIME_ZONE = 'Europe/Amsterdam'
|
---|
| 25 |
|
---|
| 26 | # Language code for this installation. All choices can be found here:
|
---|
| 27 | # http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
|
---|
| 28 | # http://blogs.law.harvard.edu/tech/stories/storyReader$15
|
---|
| 29 | LANGUAGE_CODE = 'en-us'
|
---|
| 30 |
|
---|
| 31 | SITE_ID = 1
|
---|
| 32 |
|
---|
| 33 | # Make this unique, and don't share it with anybody.
|
---|
| 34 | SECRET_KEY = 'l+plhHJKNIkiasdfh12lsk0Lkf,.=+-asdjdknmnaladfasdmnm,90934jknmnsdaf09'
|
---|
| 35 |
|
---|
| 36 | # List of callables that know how to import templates from various sources.
|
---|
| 37 | TEMPLATE_LOADERS = (
|
---|
| 38 | 'django.template.loaders.filesystem.load_template_source',
|
---|
| 39 | 'django.template.loaders.app_directories.load_template_source',
|
---|
| 40 | # 'django.template.loaders.eggs.load_template_source',
|
---|
| 41 | )
|
---|
| 42 |
|
---|
| 43 | MIDDLEWARE_CLASSES = (
|
---|
| 44 | 'django.middleware.common.CommonMiddleware',
|
---|
| 45 | 'django.contrib.sessions.middleware.SessionMiddleware',
|
---|
| 46 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
---|
| 47 | 'django.middleware.doc.XViewMiddleware',
|
---|
| 48 | )
|
---|
| 49 |
|
---|
[6183] | 50 | ROOT_URLCONF = 'sampleserver.urls'
|
---|
[6178] | 51 |
|
---|
| 52 | TEMPLATE_DIRS = (
|
---|
| 53 | # Put strings here, like "/home/html/django_templates".
|
---|
| 54 | # Always use forward slashes, even on Windows.
|
---|
| 55 | )
|
---|
| 56 |
|
---|
| 57 | INSTALLED_APPS = (
|
---|
| 58 | 'django.contrib.auth',
|
---|
| 59 | 'django.contrib.contenttypes',
|
---|
| 60 | 'django.contrib.sessions',
|
---|
| 61 | 'django.contrib.sites',
|
---|
| 62 | 'django.contrib.admin',
|
---|
[6216] | 63 | 'django.contrib.databrowse',
|
---|
| 64 | 'django_extensions',
|
---|
[6180] | 65 | 'exodus',
|
---|
[6178] | 66 | )
|
---|