X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9ff5f2ac22360b1ff3ef2473c15d4acfd1e7769b..df3e7b60880c31eda0abdedd0eb6bd8b54a8e364:/src/redakcja/settings/__init__.py diff --git a/src/redakcja/settings/__init__.py b/src/redakcja/settings/__init__.py index 4259b319..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: @@ -93,6 +92,7 @@ INSTALLED_APPS = ( 'redakcja.api', 'catalogue', + 'depot', 'documents', 'cover', 'dvcs', @@ -266,6 +266,9 @@ PIPELINE = { } +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' + + SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'