X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/21ae6d580b73b6a180a25b8514e5446d61bb888e..842685bc24daac46f562bdde7ce527fd5e3b1474:/src/redakcja/settings/__init__.py diff --git a/src/redakcja/settings/__init__.py b/src/redakcja/settings/__init__.py index 46b80da1..25ae5675 100644 --- a/src/redakcja/settings/__init__.py +++ b/src/redakcja/settings/__init__.py @@ -53,7 +53,6 @@ if CAS_SERVER_URL: MIDDLEWARE += [ 'django.contrib.admindocs.middleware.XViewMiddleware', 'fnp_django_pagination.middleware.PaginationMiddleware', - 'maintenancemode.middleware.MaintenanceModeMiddleware', ] if DEBUG: @@ -128,7 +127,7 @@ PIPELINE = { 'CSS_COMPRESSOR': None, 'JS_COMPRESSOR': None, 'COMPILERS': ( - 'pipeline.compilers.sass.SASSCompiler', + 'libsasscompiler.LibSassCompiler', ), # CSS and JS files to compress @@ -267,6 +266,9 @@ PIPELINE = { } +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' + + SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'