kick-off templates chercheurs
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / settings.py
CommitLineData
155a7c62
CR
1
2import os
d15017b2 3from conf import *
155a7c62
CR
4
5ADMINS = (
6 # ('Your Name', 'your_email@domain.com'),
7)
8
9MANAGERS = ADMINS
10
155a7c62
CR
11TIME_ZONE = 'America/Chicago'
12
d15017b2 13LANGUAGE_CODE = 'fr-ca'
155a7c62
CR
14
15# Absolute path to the directory that holds media.
16# Example: "/home/media/media.lawrence.com/"
17MEDIA_ROOT = os.path.join(os.path.dirname(__file__), 'media')
18
19# URL that handles the media served from MEDIA_ROOT. Make sure to use a
20# trailing slash if there is a path component (optional in other cases).
21# Examples: "http://media.lawrence.com", "http://example.com/media/"
22MEDIA_URL = '/media/'
23
24# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
25# trailing slash.
26# Examples: "http://foo.com/media/", "/media/".
27ADMIN_MEDIA_PREFIX = '/admin_media/'
28
29# Don't share this with anybody.
30SECRET_KEY = 'k5m_cyht&ipi!nbxng9-5zc!4_q84opflhsn#d3%^3=9gm44tt'
31
32MIDDLEWARE_CLASSES = (
42eb863b 33 'django.middleware.cache.UpdateCacheMiddleware',
155a7c62 34 'django.middleware.common.CommonMiddleware',
42eb863b 35 'django.middleware.cache.FetchFromCacheMiddleware',
155a7c62
CR
36 'django.contrib.sessions.middleware.SessionMiddleware',
37 'django.contrib.auth.middleware.AuthenticationMiddleware',
38 'django.middleware.doc.XViewMiddleware',
39)
40
0cc5f772 41ROOT_URLCONF = 'auf_savoirs_en_partage.urls'
155a7c62
CR
42
43
44INSTALLED_APPS = (
45 'django.contrib.auth',
46 'django.contrib.contenttypes',
47 'django.contrib.sessions',
48 'django.contrib.admin',
6ef8ead4 49 'django_roa',
92c7413b 50 'timezones',
d15017b2 51 'savoirs',
932eef9a 52 'chercheurs',
155a7c62
CR
53)
54
55TEMPLATE_LOADERS = (
56 'django.template.loaders.filesystem.load_template_source',
57 'django.template.loaders.app_directories.load_template_source',
58)
59
60TEMPLATE_DIRS = (
61 os.path.join(os.path.dirname(__file__), "templates"),
62)
63
6ef8ead4 64AUTHENTICATION_BACKENDS = (
79c398f6 65 'auf_references_client.backends.CascadeBackend',
6ef8ead4 66)
79c398f6 67AUTH_PASSWORD_REQUIRED = True
5fa0c5a4 68
42eb863b
CR
69CACHE_BACKEND = 'memcached://127.0.0.1:11211/'
70
79c398f6
CR
71ROA_CUSTOM_ARGS = {'api-key': ROA_API_KEY}
72from auf_references_client.settings import *