X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/1c44611028122967ec5f9dd645b6392663499634..c98c0a3f23b5ea3390fad0f2e25a27667b96e43a:/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'