Commit 515589cc authored by Daniel STAN's avatar Daniel STAN

Support date internationale

parent 60c95d0e
......@@ -9,6 +9,7 @@ TEMPLATE_DEBUG = DEBUG
EMAIL_SUBJECT_PREFIX = "[Intranet2 Cr@ns] "
ADMINS = (
('Intranet', 'root@crans.org'),
# ('Your Name', 'your_email@domain.com'),
......@@ -17,6 +18,7 @@ ADMINS = (
MANAGERS = ADMINS
ROOT_PATH='/home/dstan/crans/intranet/'
FIXTURE_DIRS=(ROOT_PATH + 'fixtures/',)
DATABASES = {
'default': {
......@@ -50,6 +52,9 @@ SITE_ID = 1
# to load the internationalization machinery.
USE_I18N = True
# Formate les dates en fonction de la localisation
USE_L10N = True
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = ROOT_PATH
......@@ -76,7 +81,6 @@ MIDDLEWARE_CLASSES = (
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware'
# 'reversion.middleware.RevisionMiddleware',
# 'django.contrib.messages.middleware.MessageMiddleware',
)
TEMPLATE_CONTEXT_PROCESSORS = (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment