7 # ('Your Name', 'your_email@domain.com'), |
7 # ('Your Name', 'your_email@domain.com'), |
8 ) |
8 ) |
9 |
9 |
10 MANAGERS = ADMINS |
10 MANAGERS = ADMINS |
11 |
11 |
12 DATABASE_ENGINE = '' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
12 DATABASES = { |
13 DATABASE_NAME = '' # Or path to database file if using sqlite3. |
13 'default': { |
14 DATABASE_USER = '' # Not used with sqlite3. |
14 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
15 DATABASE_PASSWORD = '' # Not used with sqlite3. |
15 'NAME': '', # Or path to database file if using sqlite3. |
16 DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. |
16 'USER': '', # Not used with sqlite3. |
17 DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. |
17 'PASSWORD': '', # Not used with sqlite3. |
|
18 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. |
|
19 'PORT': '', # Set to empty string for default. Not used with sqlite3. |
|
20 } |
|
21 } |
18 |
22 |
19 # Local time zone for this installation. Choices can be found here: |
23 # Local time zone for this installation. Choices can be found here: |
20 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name |
24 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name |
21 # although not all choices may be available on all operating systems. |
25 # although not all choices may be available on all operating systems. |
|
26 # On Unix systems, a value of None will cause Django to use the same |
|
27 # timezone as the operating system. |
22 # If running in a Windows environment this must be set to the same as your |
28 # If running in a Windows environment this must be set to the same as your |
23 # system time zone. |
29 # system time zone. |
24 TIME_ZONE = 'America/Chicago' |
30 TIME_ZONE = 'America/Chicago' |
25 |
31 |
26 # Language code for this installation. All choices can be found here: |
32 # Language code for this installation. All choices can be found here: |
30 SITE_ID = 1 |
36 SITE_ID = 1 |
31 |
37 |
32 # If you set this to False, Django will make some optimizations so as not |
38 # If you set this to False, Django will make some optimizations so as not |
33 # to load the internationalization machinery. |
39 # to load the internationalization machinery. |
34 USE_I18N = True |
40 USE_I18N = True |
|
41 |
|
42 # If you set this to False, Django will not format dates, numbers and |
|
43 # calendars according to the current locale |
|
44 USE_L10N = True |
35 |
45 |
36 # Absolute path to the directory that holds media. |
46 # Absolute path to the directory that holds media. |
37 # Example: "/home/media/media.lawrence.com/" |
47 # Example: "/home/media/media.lawrence.com/" |
38 MEDIA_ROOT = '' |
48 MEDIA_ROOT = '' |
39 |
49 |
50 # Make this unique, and don't share it with anybody. |
60 # Make this unique, and don't share it with anybody. |
51 SECRET_KEY = '' |
61 SECRET_KEY = '' |
52 |
62 |
53 # List of callables that know how to import templates from various sources. |
63 # List of callables that know how to import templates from various sources. |
54 TEMPLATE_LOADERS = ( |
64 TEMPLATE_LOADERS = ( |
55 'django.template.loaders.filesystem.load_template_source', |
65 'django.template.loaders.filesystem.Loader', |
56 'django.template.loaders.app_directories.load_template_source', |
66 'django.template.loaders.app_directories.Loader', |
57 # 'django.template.loaders.eggs.load_template_source', |
67 # 'django.template.loaders.eggs.Loader', |
58 ) |
68 ) |
59 |
69 |
60 MIDDLEWARE_CLASSES = ( |
70 MIDDLEWARE_CLASSES = ( |
61 'django.middleware.common.CommonMiddleware', |
71 'django.middleware.common.CommonMiddleware', |
62 'django.contrib.sessions.middleware.SessionMiddleware', |
72 'django.contrib.sessions.middleware.SessionMiddleware', |
|
73 'django.middleware.csrf.CsrfViewMiddleware', |
63 'django.contrib.auth.middleware.AuthenticationMiddleware', |
74 'django.contrib.auth.middleware.AuthenticationMiddleware', |
|
75 'django.contrib.messages.middleware.MessageMiddleware', |
64 ) |
76 ) |
65 |
77 |
66 ROOT_URLCONF = '{{ project_name }}.urls' |
78 ROOT_URLCONF = '{{ project_name }}.urls' |
67 |
79 |
68 TEMPLATE_DIRS = ( |
80 TEMPLATE_DIRS = ( |
74 INSTALLED_APPS = ( |
86 INSTALLED_APPS = ( |
75 'django.contrib.auth', |
87 'django.contrib.auth', |
76 'django.contrib.contenttypes', |
88 'django.contrib.contenttypes', |
77 'django.contrib.sessions', |
89 'django.contrib.sessions', |
78 'django.contrib.sites', |
90 'django.contrib.sites', |
|
91 'django.contrib.messages', |
|
92 # Uncomment the next line to enable the admin: |
|
93 # 'django.contrib.admin', |
79 ) |
94 ) |