6 # ('Your Name', 'your_email@domain.com'),
11 TIME_ZONE
= 'America/Chicago'
13 LANGUAGE_CODE
= 'fr-ca'
15 # Absolute path to the directory that holds media.
16 # Example: "/home/media/media.lawrence.com/"
17 MEDIA_ROOT
= os
.path
.join(os
.path
.dirname(__file__
), 'media')
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/"
24 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
26 # Examples: "http://foo.com/media/", "/media/".
27 ADMIN_MEDIA_PREFIX
= '/admin_media/'
29 # List of callables that know how to import templates from various sources.
31 'django.template.loaders.filesystem.load_template_source',
32 'django.template.loaders.app_directories.load_template_source',
33 # 'django.template.loaders.eggs.load_template_source',
36 TEMPLATE_CONTEXT_PROCESSORS
= (
37 'django.core.context_processors.auth',
38 'django.core.context_processors.debug',
39 'django.core.context_processors.i18n',
40 'django.core.context_processors.media',
41 'django.core.context_processors.request',
45 MIDDLEWARE_CLASSES
= (
46 'django.middleware.cache.UpdateCacheMiddleware',
47 'django.middleware.common.CommonMiddleware',
48 'django.middleware.cache.FetchFromCacheMiddleware',
49 'django.contrib.sessions.middleware.SessionMiddleware',
50 'django.contrib.auth.middleware.AuthenticationMiddleware',
51 'pagination.middleware.PaginationMiddleware',
52 'django_sorting.middleware.SortingMiddleware',
53 'django.middleware.doc.XViewMiddleware',
56 ROOT_URLCONF
= 'auf_savoirs_en_partage.urls'
60 'django.contrib.auth',
61 'django.contrib.contenttypes',
62 'django.contrib.sessions',
63 'django.contrib.admin',
74 'django.template.loaders.filesystem.load_template_source',
75 'django.template.loaders.app_directories.load_template_source',
79 os
.path
.join(os
.path
.dirname(__file__
), "templates"),
82 AUTHENTICATION_BACKENDS
= (
83 'auf_references_client.backends.CascadeBackend',
86 CACHE_BACKEND
= 'memcached://127.0.0.1:11211/'
88 ROA_CUSTOM_ARGS
= {'api-key': ROA_API_KEY
}
89 from auf_references_client
.settings
import *