Fix locale support
This commit is contained in:
parent
24009bff3e
commit
10a83d36f7
1 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ USE_TZ = True
|
|||
|
||||
|
||||
LOCALE_PATHS = (
|
||||
normpath(join(SITE_ROOT, 'locale')),
|
||||
normpath(join(SITE_ROOT, 'gnuviechadmin', 'locale')),
|
||||
)
|
||||
|
||||
|
||||
|
@ -175,9 +175,9 @@ MIDDLEWARE = [
|
|||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'django.middleware.csrf.CsrfViewMiddleware',
|
||||
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
||||
'django.middleware.locale.LocaleMiddleware',
|
||||
'django.contrib.messages.middleware.MessageMiddleware',
|
||||
# uncomment next line to enable translation to browser locale
|
||||
'django.middleware.locale.LocaleMiddleware',
|
||||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
]
|
||||
# ######### END MIDDLEWARE CONFIGURATION
|
||||
|
|
Loading…
Reference in a new issue