|
1 # Copyright 2008 the Melange authors. |
|
2 # |
|
3 # Licensed under the Apache License, Version 2.0 (the "License"); |
|
4 # you may not use this file except in compliance with the License. |
|
5 # You may obtain a copy of the License at |
|
6 # |
|
7 # http://www.apache.org/licenses/LICENSE-2.0 |
|
8 # |
|
9 # Unless required by applicable law or agreed to in writing, software |
|
10 # distributed under the License is distributed on an "AS IS" BASIS, |
|
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
12 # See the License for the specific language governing permissions and |
|
13 # limitations under the License. |
|
14 |
|
15 __authors__ = [ |
|
16 '"Augie Fackler" <durin42@gmail.com>', |
|
17 ] |
|
18 |
|
19 |
|
20 import os |
|
21 |
|
22 |
|
23 DEBUG = True |
|
24 TEMPLATE_DEBUG = DEBUG |
|
25 |
|
26 ADMINS = ( |
|
27 # ('Your Name', 'your_email@domain.com'), |
|
28 ) |
|
29 |
|
30 MANAGERS = ADMINS |
|
31 |
|
32 # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. |
|
33 DATABASE_ENGINE = 'dummy' |
|
34 # None of the following are used with appengine |
|
35 DATABASE_NAME = '' # Or path to database file if using sqlite3. |
|
36 DATABASE_USER = '' # Not used with sqlite3. |
|
37 DATABASE_PASSWORD = '' # Not used with sqlite3. |
|
38 # Set to empty string for localhost. Not used with sqlite3. |
|
39 DATABASE_HOST = '' |
|
40 # Set to empty string for default. Not used with sqlite3. |
|
41 DATABASE_PORT = '' |
|
42 |
|
43 # Local time zone for this installation. Choices can be found here: |
|
44 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name |
|
45 # although not all choices may be available on all operating systems. |
|
46 # If running in a Windows environment this must be set to the same as your |
|
47 # system time zone. |
|
48 TIME_ZONE = 'UTC' |
|
49 |
|
50 # Language code for this installation. All choices can be found here: |
|
51 # http://www.i18nguy.com/unicode/language-identifiers.html |
|
52 LANGUAGE_CODE = 'en-us' |
|
53 |
|
54 SITE_ID = 1 |
|
55 |
|
56 # If you set this to False, Django will make some optimizations so as not |
|
57 # to load the internationalization machinery. |
|
58 USE_I18N = True |
|
59 |
|
60 # Absolute path to the directory that holds media. |
|
61 # Example: "/home/media/media.lawrence.com/" |
|
62 MEDIA_ROOT = '' |
|
63 |
|
64 # URL that handles the media served from MEDIA_ROOT. Make sure to use a |
|
65 # trailing slash if there is a path component (optional in other cases). |
|
66 # Examples: "http://media.lawrence.com", "http://example.com/media/" |
|
67 MEDIA_URL = '' |
|
68 |
|
69 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a |
|
70 # trailing slash. |
|
71 # Examples: "http://foo.com/media/", "/media/". |
|
72 ADMIN_MEDIA_PREFIX = '/media/' |
|
73 |
|
74 # TODO Make this unique, and don't share it with anybody. |
|
75 SECRET_KEY = 'hvhxfm5u=^*v&doo#oq8x*eg8+1&9sxbye@=umutgn^t_sg_nx' |
|
76 |
|
77 # List of callables that know how to import templates from various sources. |
|
78 TEMPLATE_LOADERS = ( |
|
79 'django.template.loaders.filesystem.load_template_source', |
|
80 'django.template.loaders.app_directories.load_template_source', |
|
81 # 'django.template.loaders.eggs.load_template_source', |
|
82 ) |
|
83 |
|
84 MIDDLEWARE_CLASSES = ( |
|
85 # 'django.middleware.common.CommonMiddleware', |
|
86 # 'django.contrib.sessions.middleware.SessionMiddleware', |
|
87 # 'django.contrib.auth.middleware.AuthenticationMiddleware', |
|
88 # 'django.middleware.doc.XViewMiddleware', |
|
89 ) |
|
90 |
|
91 ROOT_URLCONF = 'urls' |
|
92 |
|
93 ROOT_PATH = os.path.dirname(__file__) |
|
94 TEMPLATE_DIRS = ( |
|
95 # TODO(proto): customize the template search directories |
|
96 os.path.join(ROOT_PATH, 'proto', 'templates'), |
|
97 os.path.join(ROOT_PATH, 'soc', 'templates'), |
|
98 ) |
|
99 |
|
100 INSTALLED_APPS = ( |
|
101 'soc.views.helpers', |
|
102 # 'django.contrib.auth', |
|
103 # 'django.contrib.contenttypes', |
|
104 # 'django.contrib.sessions', |
|
105 # 'django.contrib.sites', |
|
106 ) |