X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/61c3753c6e0c567ccbb11115c787da22218ab5f6..c9355cb6a53e0fa130ebe8458f9bcda3ef0c4a50:/platforma/settings.py?ds=inline diff --git a/platforma/settings.py b/platforma/settings.py index b4585455..a116a44a 100644 --- a/platforma/settings.py +++ b/platforma/settings.py @@ -84,8 +84,9 @@ MIDDLEWARE_CLASSES = ( 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django_cas.middleware.CASMiddleware', - 'django.middleware.doc.XViewMiddleware', + 'django.middleware.doc.XViewMiddleware', 'maintenancemode.middleware.MaintenanceModeMiddleware', + 'debug_toolbar.middleware.DebugToolbarMiddleware' ) AUTHENTICATION_BACKENDS = ( @@ -122,15 +123,15 @@ COMPRESS_CSS = { 'source_filenames': ( 'css/filelist.css', ), - 'output_filename': 'compressed/listing_styles_?.js', + 'output_filename': 'compressed/listing_styles_?.css', } } COMPRESS_JS = { - # everything except codemirror + # everything except codemirror and jquery (which we take from google) 'detail': { 'source_filenames': ( - 'js/jquery-1.4.2.min.js', + #'js/jquery-1.4.2.min.js', 'js/jquery.autocomplete.js', 'js/jquery.blockui.js', 'js/jquery.elastic.js', @@ -143,13 +144,14 @@ COMPRESS_JS = { }, 'listing': { 'source_filenames': ( - 'js/jquery-1.4.2.min.js', + # 'js/jquery-1.4.2.min.js', 'js/slugify.js', ), 'output_filename': 'compressed/listing_scripts_?.js', } } +COMPRESS = True COMPRESS_CSS_FILTERS = None COMPRESS_JS_FILTERS = None COMPRESS_AUTO = False @@ -166,11 +168,14 @@ INSTALLED_APPS = ( 'django.contrib.admindocs', 'django_nose', + 'debug_toolbar', + 'compress', - - 'wiki', + 'south', 'sorl.thumbnail', 'filebrowser', + + 'wiki', 'toolbar', )