Galeria skanów z przewijaniem, bez zoom'a.
[redakcja.git] / project / settings.py
index 0e9ba8d..7d2ed64 100644 (file)
@@ -30,6 +30,9 @@ TIME_ZONE = 'Europe/Warsaw Poland'
 # http://www.i18nguy.com/unicode/language-identifiers.html
 LANGUAGE_CODE = 'pl'
 
 # 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
 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',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
     'explorer.middleware.EditorSettingsMiddleware',
     'django.middleware.doc.XViewMiddleware',
+
+    'maintenancemode.middleware.MaintenanceModeMiddleware',
 )
 
 ROOT_URLCONF = 'urls'
 
 TEMPLATE_DIRS = (
 )
 
 ROOT_URLCONF = 'urls'
 
 TEMPLATE_DIRS = (
-    PROJECT_ROOT + '/templates'
+    PROJECT_ROOT + '/templates',    
 )
 
 # CSS and JS files to compress
 )
 
 # CSS and JS files to compress