1 # Copyright 2008 the Melange authors.
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 '"Augie Fackler" <durin42@gmail.com>',
17 '"Pawel Solyga" <pawel.solyga@gmail.com>',
22 # Debug flag True only on App Engine development environment (dev_appserver.py)
23 # dev_appserver sets SERVER_SOFTWARE to 'Development/1.0'
24 DEBUG
= os
.environ
['SERVER_SOFTWARE'].startswith('Dev')
25 TEMPLATE_DEBUG
= DEBUG
28 # ('Your Name', 'your_email@domain.com'),
33 # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
34 DATABASE_ENGINE
= 'dummy'
35 # None of the following are used with appengine
36 DATABASE_NAME
= '' # Or path to database file if using sqlite3.
37 DATABASE_USER
= '' # Not used with sqlite3.
38 DATABASE_PASSWORD
= '' # Not used with sqlite3.
39 # Set to empty string for localhost. Not used with sqlite3.
41 # Set to empty string for default. Not used with sqlite3.
44 # Local time zone for this installation. Choices can be found here:
45 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
46 # although not all choices may be available on all operating systems.
47 # If running in a Windows environment this must be set to the same as your
51 # Language code for this installation. All choices can be found here:
52 # http://www.i18nguy.com/unicode/language-identifiers.html
53 LANGUAGE_CODE
= 'en-us'
57 # If you set this to False, Django will make some optimizations so as not
58 # to load the internationalization machinery.
61 # Absolute path to the directory that holds media.
62 # Example: "/home/media/media.lawrence.com/"
65 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
66 # trailing slash if there is a path component (optional in other cases).
67 # Examples: "http://media.lawrence.com", "http://example.com/media/"
70 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
72 # Examples: "http://foo.com/media/", "/media/".
73 ADMIN_MEDIA_PREFIX
= '/media/'
75 # TODO Make this unique, and don't share it with anybody.
76 SECRET_KEY
= 'hvhxfm5u=^*v&doo#oq8x*eg8+1&9sxbye@=umutgn^t_sg_nx'
78 # List of callables that know how to import templates from various sources.
80 'django.template.loaders.filesystem.load_template_source',
81 'django.template.loaders.app_directories.load_template_source',
82 # 'django.template.loaders.eggs.load_template_source',
85 MIDDLEWARE_CLASSES
= (
86 # 'django.middleware.common.CommonMiddleware',
87 # 'django.contrib.sessions.middleware.SessionMiddleware',
88 # 'django.contrib.auth.middleware.AuthenticationMiddleware',
89 # 'django.middleware.doc.XViewMiddleware',
94 ROOT_PATH
= os
.path
.dirname(__file__
)
96 # TODO(proto): customize the template search directories
97 os
.path
.join(ROOT_PATH
, 'ghop', 'templates'),
98 os
.path
.join(ROOT_PATH
, 'gsoc', 'templates'),
99 os
.path
.join(ROOT_PATH
, 'soc', 'templates'),
104 # 'django.contrib.auth',
105 # 'django.contrib.contenttypes',
106 # 'django.contrib.sessions',
107 # 'django.contrib.sites',