X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/71b07fe1928b04a218e062f01cca720863b9eeb9..861a08cdc38728e9f988a0a321e62693e26e947f:/project/settings.py?ds=sidebyside diff --git a/project/settings.py b/project/settings.py index 0e9ba8d8..7d2ed64e 100644 --- a/project/settings.py +++ b/project/settings.py @@ -30,6 +30,9 @@ TIME_ZONE = 'Europe/Warsaw Poland' # http://www.i18nguy.com/unicode/language-identifiers.html LANGUAGE_CODE = 'pl' +import locale +locale.setlocale(locale.LC_ALL, '') + SITE_ID = 1 # If you set this to False, Django will make some optimizations so as not @@ -77,12 +80,14 @@ MIDDLEWARE_CLASSES = ( 'django.contrib.auth.middleware.AuthenticationMiddleware', 'explorer.middleware.EditorSettingsMiddleware', 'django.middleware.doc.XViewMiddleware', + + 'maintenancemode.middleware.MaintenanceModeMiddleware', ) ROOT_URLCONF = 'urls' TEMPLATE_DIRS = ( - PROJECT_ROOT + '/templates' + PROJECT_ROOT + '/templates', ) # CSS and JS files to compress