~harmony-devs/harmony/tags

« back to all changes in this revision

Viewing changes to settings.py

  • Committer: Lucas Vogelsang
  • Date: 2006-07-31 22:01:58 UTC
  • Revision ID: lucasvo@vincisolutions.ch-20060731220158-307f5e47c869f3d9
Started Django project

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Django settings for harmony project.
 
2
 
 
3
DEBUG = True
 
4
TEMPLATE_DEBUG = DEBUG
 
5
 
 
6
ADMINS = (
 
7
    # ('Your Name', 'your_email@domain.com'),
 
8
)
 
9
 
 
10
MANAGERS = ADMINS
 
11
 
 
12
DATABASE_ENGINE = ''           # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
 
13
DATABASE_NAME = ''             # Or path to database file if using sqlite3.
 
14
DATABASE_USER = ''             # Not used with sqlite3.
 
15
DATABASE_PASSWORD = ''         # Not used with sqlite3.
 
16
DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3.
 
17
DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.
 
18
 
 
19
# Local time zone for this installation. All choices can be found here:
 
20
# http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
 
21
TIME_ZONE = 'America/Chicago'
 
22
 
 
23
# Language code for this installation. All choices can be found here:
 
24
# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
 
25
# http://blogs.law.harvard.edu/tech/stories/storyReader$15
 
26
LANGUAGE_CODE = 'en-us'
 
27
 
 
28
SITE_ID = 1
 
29
 
 
30
# Absolute path to the directory that holds media.
 
31
# Example: "/home/media/media.lawrence.com/"
 
32
MEDIA_ROOT = ''
 
33
 
 
34
# URL that handles the media served from MEDIA_ROOT.
 
35
# Example: "http://media.lawrence.com"
 
36
MEDIA_URL = ''
 
37
 
 
38
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
 
39
# trailing slash.
 
40
# Examples: "http://foo.com/media/", "/media/".
 
41
ADMIN_MEDIA_PREFIX = '/media/'
 
42
 
 
43
# Make this unique, and don't share it with anybody.
 
44
SECRET_KEY = '&o@wl4ggpb+klk!p5h0y8p!czg=%&l6fci2%d9wi6k)2cre+jb'
 
45
 
 
46
# List of callables that know how to import templates from various sources.
 
47
TEMPLATE_LOADERS = (
 
48
    'django.template.loaders.filesystem.load_template_source',
 
49
    'django.template.loaders.app_directories.load_template_source',
 
50
#     'django.template.loaders.eggs.load_template_source',
 
51
)
 
52
 
 
53
MIDDLEWARE_CLASSES = (
 
54
    'django.middleware.common.CommonMiddleware',
 
55
    'django.contrib.sessions.middleware.SessionMiddleware',
 
56
    'django.contrib.auth.middleware.AuthenticationMiddleware',
 
57
    'django.middleware.doc.XViewMiddleware',
 
58
)
 
59
 
 
60
ROOT_URLCONF = 'harmony.urls'
 
61
 
 
62
TEMPLATE_DIRS = (
 
63
    # Put strings here, like "/home/html/django_templates".
 
64
    # Always use forward slashes, even on Windows.
 
65
)
 
66
 
 
67
INSTALLED_APPS = (
 
68
    'django.contrib.auth',
 
69
    'django.contrib.contenttypes',
 
70
    'django.contrib.sessions',
 
71
    'django.contrib.sites',
 
72
)