source: sampleserver/settings.py@ 6244

Last change on this file since 6244 was 6235, checked in by RIck van der Zwet, 16 years ago

Installing django extentions the 'official' way as they are currently required

File size: 2.1 KB
Line 
1# Django settings for exodus project.
2import os
3
4DJANGOROOT= os.path.join(os.path.dirname(__file__), '..')
5
6DEBUG = True
7TEMPLATE_DEBUG = DEBUG
8
9ADMINS = (
10 ('Administrator', 'admin@example.org'),
11)
12
13MANAGERS = ADMINS
14
15DATABASE_ENGINE = 'sqlite3' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
16DATABASE_NAME = DJANGOROOT + '/sqllite.db' # Or path to database file if using sqlite3.
17DATABASE_USER = 'roland' # Not used with sqlite3.
18DATABASE_PASSWORD = '' # Not used with sqlite3.
19DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
20DATABASE_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
24TIME_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
29LANGUAGE_CODE = 'en-us'
30
31SITE_ID = 1
32
33# Make this unique, and don't share it with anybody.
34SECRET_KEY = 'l+plhHJKNIkiasdfh12lsk0Lkf,.=+-asdjdknmnaladfasdmnm,90934jknmnsdaf09'
35
36# List of callables that know how to import templates from various sources.
37TEMPLATE_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
43MIDDLEWARE_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
50ROOT_URLCONF = 'sampleserver.urls'
51
52TEMPLATE_DIRS = (
53 # Put strings here, like "/home/html/django_templates".
54 # Always use forward slashes, even on Windows.
55)
56
57INSTALLED_APPS = (
58 'django.contrib.auth',
59 'django.contrib.contenttypes',
60 'django.contrib.sessions',
61 'django.contrib.sites',
62 'django.contrib.admin',
63 'django.contrib.databrowse',
64 'extensions',
65 'exodus',
66)
Note: See TracBrowser for help on using the repository browser.