1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 04:10:47 +00:00

upgrade django to 2.2 (#4620)

This commit is contained in:
王健辉
2020-07-27 14:59:18 +08:00
committed by GitHub
parent e55a602d57
commit 21756be27c
223 changed files with 270 additions and 270 deletions

View File

@@ -5,7 +5,7 @@ import logging
from django.conf import settings
from django.contrib.auth.middleware import RemoteUserMiddleware
from django.core.exceptions import ImproperlyConfigured
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.http import HttpResponseRedirect
from seaserv import seafile_api, ccnet_api
@@ -39,7 +39,7 @@ class ShibbolethRemoteUserMiddleware(RemoteUserMiddleware):
raise ImproperlyConfigured(
"The Django remote user auth middleware requires the"
" authentication middleware to be installed. Edit your"
" MIDDLEWARE_CLASSES setting to insert"
" MIDDLEWARE setting to insert"
" 'django.contrib.auth.middleware.AuthenticationMiddleware'"
" before the RemoteUserMiddleware class.")