1 # -*- encoding: utf-8 -*-
7 # ('Your Name', 'your_email@domain.com'),
12 TIME_ZONE
= 'America/Chicago'
14 LANGUAGE_CODE
= 'fr-ca'
16 # Absolute path to the directory that holds media.
17 # Example: "/home/media/media.lawrence.com/"
18 MEDIA_ROOT
= os
.path
.join(os
.path
.dirname(__file__
), 'media')
20 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
21 # trailing slash if there is a path component (optional in other cases).
22 # Examples: "http://media.lawrence.com", "http://example.com/media/"
25 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
27 # Examples: "http://foo.com/media/", "/media/".
28 ADMIN_MEDIA_PREFIX
= '/admin_media/'
30 # List of callables that know how to import templates from various sources.
32 'django.template.loaders.filesystem.load_template_source',
33 'django.template.loaders.app_directories.load_template_source',
34 # 'django.template.loaders.eggs.load_template_source',
37 TEMPLATE_CONTEXT_PROCESSORS
= (
38 'django.core.context_processors.auth',
39 'django.core.context_processors.debug',
40 'django.core.context_processors.i18n',
41 'django.core.context_processors.media',
42 'django.core.context_processors.request',
46 MIDDLEWARE_CLASSES
= (
47 'django.middleware.cache.UpdateCacheMiddleware',
48 'django.middleware.common.CommonMiddleware',
49 'django.middleware.cache.FetchFromCacheMiddleware',
50 'django.contrib.sessions.middleware.SessionMiddleware',
51 'django.contrib.auth.middleware.AuthenticationMiddleware',
52 'pagination.middleware.PaginationMiddleware',
53 'django_sorting.middleware.SortingMiddleware',
54 'django.middleware.doc.XViewMiddleware',
57 ROOT_URLCONF
= 'auf_savoirs_en_partage.urls'
61 'django.contrib.auth',
62 'django.contrib.contenttypes',
63 'django.contrib.sessions',
64 'django.contrib.admin',
69 'auf_references_modeles',
77 'django.template.loaders.filesystem.load_template_source',
78 'django.template.loaders.app_directories.load_template_source',
82 os
.path
.join(os
.path
.dirname(__file__
), "templates"),
85 AUTHENTICATION_BACKENDS
= (
86 'auf_references_client.backends.CascadeBackend',
89 CACHE_BACKEND
= 'memcached://127.0.0.1:11211/'
91 ROA_CUSTOM_ARGS
= {'api-key': ROA_API_KEY
}
93 from auf_references_client
.settings
import *