X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8786b85863e82ff2685fbf93cff5abaa0fb2a860..c98c0a3f23b5ea3390fad0f2e25a27667b96e43a:/wolnelektury/settings.py?ds=inline 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',