X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4b36a346031070515c3029e0050c1990e8a6a3eb..7c7b8cf864cdf4639e4da0b8a6ebba242801807e:/wolnelektury/settings.py diff --git a/wolnelektury/settings.py b/wolnelektury/settings.py index c76b20585..861799232 100644 --- a/wolnelektury/settings.py +++ b/wolnelektury/settings.py @@ -3,8 +3,9 @@ from os import path PROJECT_DIR = path.abspath(path.dirname(__file__)) -DEBUG = True +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' @@ -148,7 +151,7 @@ COMPRESS_JS = { 'all': { 'source_filenames': ('js/jquery.autocomplete.js', 'js/jquery.form.js', 'js/jquery.countdown.js', 'js/jquery.countdown-pl.js', - 'js/jquery.countdown-en.js', 'js/jquery.countdown-de.js', + 'js/jquery.countdown-de.js', 'js/jquery.countdown-es.js', 'js/jquery.countdown-lt.js', 'js/jquery.countdown-ru.js', 'js/jquery.countdown-fr.js', 'js/jquery.jqmodal.js', 'js/jquery.labelify.js', 'js/catalogue.js',