* Initial import of a django project.
[matthijs/projects/xerxes.git] / settings.py
1 # Django settings for ee project.
2
3 from dbsettings import *
4
5 DEBUG = True
6 TEMPLATE_DEBUG = DEBUG
7
8 ADMINS = (
9     # ('Your Name', 'your_email@domain.com'),
10 )
11
12 MANAGERS = ADMINS
13
14 PHPBB_DATABASE_NAME = 'ee_forum'
15
16 # Local time zone for this installation. Choices can be found here:
17 # http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
18 # although not all variations may be possible on all operating systems.
19 # If running in a Windows environment this must be set to the same as your
20 # system time zone.
21 TIME_ZONE = 'Europe/Amsterdam'
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 # If you set this to False, Django will make some optimizations so as not
31 # to load the internationalization machinery.
32 USE_I18N = True
33
34 # Absolute path to the directory that holds media.
35 # Example: "/home/media/media.lawrence.com/"
36 MEDIA_ROOT = ''
37
38 # URL that handles the media served from MEDIA_ROOT.
39 # Example: "http://media.lawrence.com"
40 MEDIA_URL = ''
41
42 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
43 # trailing slash.
44 # Examples: "http://foo.com/media/", "/media/".
45 ADMIN_MEDIA_PREFIX = '/media/'
46
47 # Make this unique, and don't share it with anybody.
48 SECRET_KEY = '6-zo+-1@-342%k4%82aw#kxr4f%5w00xhwby5$&fa@+!dh@(2='
49
50 # List of callables that know how to import templates from various sources.
51 TEMPLATE_LOADERS = (
52     'django.template.loaders.filesystem.load_template_source',
53     'django.template.loaders.app_directories.load_template_source',
54 #     'django.template.loaders.eggs.load_template_source',
55 )
56
57 MIDDLEWARE_CLASSES = (
58     'django.middleware.common.CommonMiddleware',
59     'django.contrib.sessions.middleware.SessionMiddleware',
60     'django.contrib.auth.middleware.AuthenticationMiddleware',
61     'django.middleware.doc.XViewMiddleware',
62 )
63
64 ROOT_URLCONF = 'ee.urls'
65
66 TEMPLATE_DIRS = (
67     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
68     # Always use forward slashes, even on Windows.
69     # Don't forget to use absolute paths, not relative paths.
70         '/home/matthijs/docs/src/django/ee/templates',
71 )
72
73 INSTALLED_APPS = (
74     'django.contrib.auth',
75     'django.contrib.contenttypes',
76     'django.contrib.sessions',
77     'django.contrib.sites',
78     'django.contrib.admin',
79         'ee.events',
80         'ee.influences',
81         'ee.base',
82 )
83
84 TEMPLATE_CONTEXT_PROCESSORS = (
85         "django.core.context_processors.auth",
86         "django.core.context_processors.debug",
87         "django.core.context_processors.i18n",
88 )
89
90 LOGIN_URL = "/accounts/login/"