X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c30cd74f1f4dcf0bfbabb0e5a739bcdf236b4946..9a3f21550b892b737e156797c4d6645bf1237085:/src/redakcja/settings/__init__.py?ds=inline diff --git a/src/redakcja/settings/__init__.py b/src/redakcja/settings/__init__.py index 46b80da1..1570e636 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: @@ -267,6 +266,9 @@ PIPELINE = { } +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' + + SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'