X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/71b07fe1928b04a218e062f01cca720863b9eeb9..826d67400c317836cd9dd02bb03b39a390e4514b:/project/settings.py diff --git a/project/settings.py b/project/settings.py index 0e9ba8d8..05518193 100644 --- a/project/settings.py +++ b/project/settings.py @@ -77,12 +77,14 @@ MIDDLEWARE_CLASSES = ( 'django.contrib.auth.middleware.AuthenticationMiddleware', 'explorer.middleware.EditorSettingsMiddleware', 'django.middleware.doc.XViewMiddleware', + + 'maintenancemode.middleware.MaintenanceModeMiddleware', ) ROOT_URLCONF = 'urls' TEMPLATE_DIRS = ( - PROJECT_ROOT + '/templates' + PROJECT_ROOT + '/templates', ) # CSS and JS files to compress