admin
[auf_contrats.git] / auf_contrats / settings.py
CommitLineData
edb53f35 1# -*- encoding: utf-8 -*-
12f728dd
CR
2
3import os
4
9f119cb0 5from conf import *
6b7ffb68 6
12f728dd
CR
7ADMINS = (
8 # ('Your Name', 'your_email@domain.com'),
939977e7 9 ('Équipe ARI-SI', 'developpeurs@ca.auf.org'),
12f728dd
CR
10)
11
1b28d42a
OL
12USERS_AS_STAFF = ('olivier.larcheveque@auf.org', )
13SUPERVISORS = ('odette.tremblay@auf.org', )
14
12f728dd
CR
15MANAGERS = ADMINS
16
12f728dd
CR
17TIME_ZONE = 'America/Chicago'
18
4bf1cd30 19LANGUAGE_CODE = 'fr-ca'
12f728dd
CR
20
21# Absolute path to the directory that holds media.
22# Example: "/home/media/media.lawrence.com/"
23MEDIA_ROOT = os.path.join(os.path.dirname(__file__), 'media')
24
25# URL that handles the media served from MEDIA_ROOT. Make sure to use a
26# trailing slash if there is a path component (optional in other cases).
27# Examples: "http://media.lawrence.com", "http://example.com/media/"
28MEDIA_URL = '/media/'
29
30# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
31# trailing slash.
32# Examples: "http://foo.com/media/", "/media/".
689c357d 33ADMIN_MEDIA_PREFIX = '/media/django/'
12f728dd 34
12f728dd 35MIDDLEWARE_CLASSES = (
1b28d42a
OL
36 'django.middleware.csrf.CsrfViewMiddleware',
37 'django.middleware.csrf.CsrfResponseMiddleware',
7d93ea74 38 'django.middleware.cache.UpdateCacheMiddleware',
12f728dd 39 'django.middleware.common.CommonMiddleware',
7d93ea74 40 'django.middleware.cache.FetchFromCacheMiddleware',
12f728dd
CR
41 'django.contrib.sessions.middleware.SessionMiddleware',
42 'django.contrib.auth.middleware.AuthenticationMiddleware',
43 'django.middleware.doc.XViewMiddleware',
44)
45
46ROOT_URLCONF = 'auf_contrats.urls'
47
48
49INSTALLED_APPS = (
50 'django.contrib.auth',
51 'django.contrib.contenttypes',
52 'django.contrib.sessions',
53 'django.contrib.admin',
12f728dd 54 'contrats',
5e94ba8c 55 'backport',
12f728dd
CR
56)
57
1b28d42a
OL
58AUTHENTICATION_BACKENDS = (
59 'auf.django.auth.backends.CascadeBackend',
60 'django.contrib.auth.backends.ModelBackend',
61)
62
12f728dd
CR
63TEMPLATE_LOADERS = (
64 'django.template.loaders.filesystem.load_template_source',
65 'django.template.loaders.app_directories.load_template_source',
66)
67
b369f42d 68TEMPLATE_DIRS = [
12f728dd 69 os.path.join(os.path.dirname(__file__), "templates"),
b369f42d 70]
12f728dd 71