X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/1c44611028122967ec5f9dd645b6392663499634..ae34def10b226251f0d752634a7de4f1a6b8775d:/wolnelektury/settings.py diff --git a/wolnelektury/settings.py b/wolnelektury/settings.py index ff979a656..861799232 100644 --- a/wolnelektury/settings.py +++ b/wolnelektury/settings.py @@ -5,6 +5,7 @@ PROJECT_DIR = path.abspath(path.dirname(__file__)) DEBUG = False TEMPLATE_DEBUG = DEBUG +MAINTENANCE_MODE = False ADMINS = [ # ('Your Name', 'your_email@domain.com'), @@ -39,7 +40,7 @@ LANGUAGES = ( ('lt', gettext('Lithuanian')), ('fr', gettext('French')), ('ru', gettext('Russian')), - ('es', gettext('Spain')), + ('es', gettext('Spanish')), ) @@ -90,6 +91,8 @@ MIDDLEWARE_CLASSES = [ 'django.middleware.doc.XViewMiddleware', 'pagination.middleware.PaginationMiddleware', 'django.middleware.locale.LocaleMiddleware', + + 'maintenancemode.middleware.MaintenanceModeMiddleware', ] ROOT_URLCONF = 'wolnelektury.urls'