MANAGERS = ADMINS
TIME_ZONE = 'Canada/Montreal'
-
+DATE_FORMAT = 'd F Y'
LANGUAGE_CODE = 'fr-ca'
# Absolute path to the directory that holds media.
# trailing slash if there is a path component (optional in other cases).
# Examples: "http://media.lawrence.com", "http://example.com/media/"
MEDIA_URL = '/media/'
-PRIVE_MEDIA_URL = '/prive/'
+PRIVE_MEDIA_URL = '/dae/prive/'
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
'south',
'reversion',
'auf.django.workflow',
- #'project.rh',
'project.rh_v1',
'project.dae',
)
'auf.django.auth.backends.CascadeBackend',
)
LOGIN_URL = "/connexion"
+LOGIN_REDIRECT_URL = "/"
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
AJAX_LOOKUP_CHANNELS = {
'responsables' : ('dae.catalogues', 'Responsable'),
+ 'dossiers' : ('dae.catalogues', 'Dossier'),
+ 'postes' : ('dae.catalogues', 'Poste'),
}
+
+# django-sendfile
+
+SENDFILE_BACKEND = 'sendfile.backends.simple'
+