source: branches/exodus-admin/settings.py@ 6390

Last change on this file since 6390 was 6382, checked in by roland, 17 years ago

Added new branch, for admin interface

  • Property svn:mergeinfo set to
File size: 2.4 KB
Line 
1# Django settings for exodus project.
2import os
3
4DEBUG = True
5TEMPLATE_DEBUG = DEBUG
6
7ADMINS = (
8 ('rick', 'rick@wzoeterwoude.net'),
9 ('roland','roland@micite.net'),
10)
11
12MANAGERS = ADMINS
13
14# Nodes get a /24
15MASTERIP_NETMASK = 24
16
17# Master super path, set to current working path
18EXODUS_ROOT = os.path.dirname(__file__)
19
20# Whether to find static files which are going to be served by django if running static mode
21EXODUS_STATIC_ROOT = os.path.join(EXODUS_ROOT, 'static')
22
23DATABASE_ENGINE = 'sqlite3' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
24#Or path to database file if using sqlite3.
25DATABASE_NAME = os.path.join(EXODUS_ROOT, 'exodus.db')
26DATABASE_USER = '' # Not used with sqlite3.
27DATABASE_PASSWORD = '' # Not used with sqlite3.
28DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
29DATABASE_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
33TIME_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
38LANGUAGE_CODE = 'en-us'
39
40SITE_ID = 1
41
42# Make this unique, and don't share it with anybody.
43SECRET_KEY = 'l+plhHJKNIkiasdfh12lsk0Lkf,.=+-asdjdknmnaladfasdmnm,90934jknmnsdaf09'
44
45# List of callables that know how to import templates from various sources.
46TEMPLATE_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
52MIDDLEWARE_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
59ROOT_URLCONF = 'exodus.urls'
60
61TEMPLATE_DIRS = (
62 # Put strings here, like "/home/html/django_templates".
63 # Always use forward slashes, even on Windows.
64)
65
66INSTALLED_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)
Note: See TracBrowser for help on using the repository browser.