bootstrap
[auf_rh_dae.git] / project / settings.py
CommitLineData
5e23d90d
OL
1# -*- encoding: utf-8 -*-
2
3import os
4import socket
5from conf import *
6
7# Rapports d'erreurs
8EMAIL_SUBJECT_PREFIX = '[auf_rh_dae - %s] ' % socket.gethostname()
9ADMINS = (
10 ('Équipe ARI-SI', 'developpeurs@ca.auf.org'),
11)
12
13MANAGERS = ADMINS
14
15TIME_ZONE = 'Canada/Montreal'
16
17LANGUAGE_CODE = 'fr-ca'
18
19# Absolute path to the directory that holds media.
20# Example: "/home/media/media.lawrence.com/"
21MEDIA_ROOT = os.path.join(os.path.dirname(__file__), 'media')
22
23# URL that handles the media served from MEDIA_ROOT. Make sure to use a
24# trailing slash if there is a path component (optional in other cases).
25# Examples: "http://media.lawrence.com", "http://example.com/media/"
26MEDIA_URL = '/media/'
27
28# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
29# trailing slash.
30# Examples: "http://foo.com/media/", "/media/".
31ADMIN_MEDIA_PREFIX = '/admin_media/'
32
33# Don't share this with anybody.
34SECRET_KEY = '^2w#%abp_d+e#(7f5w$leef50)c@4y38cnn#ccji@84$2^rt#l'
35
36MIDDLEWARE_CLASSES = (
37 'django.middleware.common.CommonMiddleware',
38 'django.contrib.sessions.middleware.SessionMiddleware',
39 'django.contrib.auth.middleware.AuthenticationMiddleware',
40 'django.middleware.doc.XViewMiddleware',
41)
42
43ROOT_URLCONF = 'project.urls'
44
45
46INSTALLED_APPS = (
47 'auf.django.skin',
48 'admin_tools',
49 'admin_tools.theming',
50 'admin_tools.menu',
51 'admin_tools.dashboard',
52 'django.contrib.auth',
53 'django.contrib.contenttypes',
54 'django.contrib.sessions',
55 'django.contrib.admin',
56 'south',
57)
58
59TEMPLATE_CONTEXT_PROCESSORS = (
60 'django.core.context_processors.auth',
61 'django.core.context_processors.debug',
62 'django.core.context_processors.i18n',
63 'django.core.context_processors.media',
64 'django.contrib.messages.context_processors.messages',
65 'django.core.context_processors.request',
66 'auf.django.skin.context_processors.auf',
67)
68
69
70TEMPLATE_LOADERS = (
71 'django.template.loaders.filesystem.load_template_source',
72 'django.template.loaders.app_directories.load_template_source',
73)
74
75TEMPLATE_DIRS = (
76 os.path.join(os.path.dirname(__file__), "templates"),
77)
78
79