1 # -*- encoding: utf-8 -*-
7 PROJET_TITRE
= "Demande d'autorisation d'embauche"
10 EMAIL_SUBJECT_PREFIX
= '[auf_rh_dae - %s] ' % socket
.gethostname()
12 ('Équipe ARI-SI', 'developpeurs@ca.auf.org'),
18 TIME_ZONE
= 'Canada/Montreal'
20 LANGUAGE_CODE
= 'fr-ca'
22 # Absolute path to the directory that holds media.
23 # Example: "/home/media/media.lawrence.com/"
24 MEDIA_ROOT
= os
.path
.join(os
.path
.dirname(__file__
), 'media')
26 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
27 # trailing slash if there is a path component (optional in other cases).
28 # Examples: "http://media.lawrence.com", "http://example.com/media/"
31 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
33 # Examples: "http://foo.com/media/", "/media/".
34 ADMIN_MEDIA_PREFIX
= '/media/django/'
36 # Don't share this with anybody.
37 SECRET_KEY
= '^2w#%abp_d+e#(7f5w$leef50)c@4y38cnn#ccji@84$2^rt#l'
39 MIDDLEWARE_CLASSES
= (
40 'django.middleware.common.CommonMiddleware',
41 'django.contrib.sessions.middleware.SessionMiddleware',
42 'django.contrib.auth.middleware.AuthenticationMiddleware',
43 'django.middleware.doc.XViewMiddleware',
46 ROOT_URLCONF
= 'project.urls'
52 'admin_tools.theming',
54 'admin_tools.dashboard',
55 'django.contrib.auth',
56 'django.contrib.contenttypes',
57 'django.contrib.sessions',
58 'django.contrib.admin',
64 TEMPLATE_CONTEXT_PROCESSORS
= (
65 'django.core.context_processors.auth',
66 'django.core.context_processors.debug',
67 'django.core.context_processors.i18n',
68 'django.core.context_processors.media',
69 'django.contrib.messages.context_processors.messages',
70 'django.core.context_processors.request',
71 'auf.django.skin.context_processors.auf',
74 AUTHENTICATION_BACKENDS
= (
75 'auf.django.auth.backends.CascadeBackend',
79 'django.template.loaders.filesystem.load_template_source',
80 'django.template.loaders.app_directories.load_template_source',
84 os
.path
.join(os
.path
.dirname(__file__
), "templates"),
88 ADMIN_TOOLS_INDEX_DASHBOARD
= 'project.dashboard.CustomIndexDashboard'