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