refactor with buildout
[sigmawcs.git] / project / settings.py
CommitLineData
c73fcbc0
OL
1# Django settings for sigmawcs project.
2
3import os.path
4
5from conf import *
6
7ADMINS = (
8 # ('Your Name', 'your_email@domain.com'),
9)
10
11MANAGERS = ADMINS
12
13# Local time zone for this installation. Choices can be found here:
14# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
15# although not all choices may be available on all operating systems.
16# If running in a Windows environment this must be set to the same as your
17# system time zone.
18TIME_ZONE = 'America/Montreal'
19
20# Language code for this installation. All choices can be found here:
21# http://www.i18nguy.com/unicode/language-identifiers.html
22LANGUAGE_CODE = 'fr-ca'
23
24SITE_ID = 1
25
26# If you set this to False, Django will make some optimizations so as not
27# to load the internationalization machinery.
28USE_I18N = True
29
30# Absolute path to the directory that holds media.
31# Example: "/home/media/media.lawrence.com/"
32MEDIA_ROOT = ''
33
34# URL that handles the media served from MEDIA_ROOT. Make sure to use a
35# trailing slash if there is a path component (optional in other cases).
36# Examples: "http://media.lawrence.com", "http://example.com/media/"
37MEDIA_URL = '/media/'
38STATIC_DOC_ROOT = os.path.join(os.path.dirname(__file__), 'media').replace('\\','/')
39
40# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
41# trailing slash.
42# Examples: "http://foo.com/media/", "/media/".
43ADMIN_MEDIA_PREFIX = '/admin/media/'
44
45# Make this unique, and don't share it with anybody.
46SECRET_KEY = 'b+&#6w^)l4s6feh+*r(k2i-%a#a+zhir-xfidz#9bou%(f8ma$'
47
48# List of callables that know how to import templates from various sources.
49TEMPLATE_LOADERS = (
50 'django.template.loaders.filesystem.load_template_source',
51 'django.template.loaders.app_directories.load_template_source',
52# 'django.template.loaders.eggs.load_template_source',
53)
54
55MIDDLEWARE_CLASSES = (
56 'django.middleware.common.CommonMiddleware',
57 'django.contrib.sessions.middleware.SessionMiddleware',
58 'django.contrib.auth.middleware.AuthenticationMiddleware',
59)
60
61ROOT_URLCONF = 'sigmawcs.urls'
62
63TEMPLATE_DIRS = (
64 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
65 # Always use forward slashes, even on Windows.
66 # Don't forget to use absolute paths, not relative paths.
67 os.path.join(os.path.dirname(__file__), 'templates').replace('\\','/'),
68)
69
70INSTALLED_APPS = (
71 'django.contrib.auth',
72 'django.contrib.contenttypes',
73 'django.contrib.sessions',
74 'django.contrib.sites',
75 'wcs',
76)