From f8f6e712a7c65f29b72883ad2dac74a6a3979e33 Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Sun, 5 Aug 2012 22:35:09 +0200 Subject: [PATCH] added LOCALE_PATHS to openslides_settings to avoid deprication in Django 1.5 --- openslides/openslides_settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openslides/openslides_settings.py b/openslides/openslides_settings.py index 6486831dd..653d0b42d 100755 --- a/openslides/openslides_settings.py +++ b/openslides/openslides_settings.py @@ -59,6 +59,10 @@ USE_I18N = True # calendars according to the current locale USE_L10N = True +LOCALE_PATHS = ( + _fs2unicode(os.path.join(SITE_ROOT, 'locale')) +) + # Absolute path to the directory that holds media. # Example: "/home/media/media.lawrence.com/" MEDIA_ROOT = _fs2unicode(os.path.join(SITE_ROOT, './static/'))