Legimi export, and some upgrades.
[redakcja.git] / src / redakcja / settings / __init__.py
index 4259b31..25ae567 100644 (file)
@@ -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',
@@ -127,7 +127,7 @@ PIPELINE = {
     'CSS_COMPRESSOR': None,
     'JS_COMPRESSOR': None,
     'COMPILERS': (
-        'pipeline.compilers.sass.SASSCompiler',
+        'libsasscompiler.LibSassCompiler',
     ),
 
     # CSS and JS files to compress
@@ -266,6 +266,9 @@ PIPELINE = {
 }
 
 
+DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
+
+
 SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'