Minor upgrades.
authorRadek Czajka <rczajka@rczajka.pl>
Wed, 2 Oct 2019 09:58:02 +0000 (11:58 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Wed, 2 Oct 2019 09:58:02 +0000 (11:58 +0200)
requirements/requirements.txt
src/redakcja/settings/__init__.py

index a2983e3..08a8823 100644 (file)
@@ -12,12 +12,12 @@ librarian==1.7.6
 
 ## Django
 Django==1.11.25
 
 ## Django
 Django==1.11.25
-fnpdjango==0.3
+fnpdjango==0.4.3
 django-pipeline==1.6.14
 django-cas-ng==3.6.0
 django-pipeline==1.6.14
 django-cas-ng==3.6.0
-sorl-thumbnail>=12.2,<12.4  # ??
+sorl-thumbnail==12.5.0
 django-maintenancemode>=0.9
 django-maintenancemode>=0.9
-fnp-django-pagination==2.2.2
+fnp-django-pagination==2.2.4
 django-gravatar2==1.4.2
 django-extensions==2.1.6
 
 django-gravatar2==1.4.2
 django-extensions==2.1.6
 
index 9909754..571a9ed 100644 (file)
@@ -31,7 +31,7 @@ TEMPLATES = [
     },
 ]
 
     },
 ]
 
-MIDDLEWARE_CLASSES = (
+MIDDLEWARE = [
     'django.middleware.common.CommonMiddleware',
     'django.middleware.csrf.CsrfViewMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.middleware.common.CommonMiddleware',
     'django.middleware.csrf.CsrfViewMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
@@ -43,12 +43,12 @@ MIDDLEWARE_CLASSES = (
     'django.contrib.admindocs.middleware.XViewMiddleware',
     'fnp_django_pagination.middleware.PaginationMiddleware',
     'maintenancemode.middleware.MaintenanceModeMiddleware',
     'django.contrib.admindocs.middleware.XViewMiddleware',
     'fnp_django_pagination.middleware.PaginationMiddleware',
     'maintenancemode.middleware.MaintenanceModeMiddleware',
-)
+]
 
 if DEBUG:
 
 if DEBUG:
-    MIDDLEWARE_CLASSES = (
+    MIDDLEWARE = [
         'debug_toolbar.middleware.DebugToolbarMiddleware',
         'debug_toolbar.middleware.DebugToolbarMiddleware',
-    ) + MIDDLEWARE_CLASSES
+    ] + MIDDLEWARE
 
 AUTHENTICATION_BACKENDS = (
     'django.contrib.auth.backends.ModelBackend',
 
 AUTHENTICATION_BACKENDS = (
     'django.contrib.auth.backends.ModelBackend',