X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/577bb2b84d936d65bf072ef0a6b898db9d6e77ab..d5011c4876bdae561f396c64cac6503ad51d5fa5:/redakcja/settings/common.py?ds=sidebyside diff --git a/redakcja/settings/common.py b/redakcja/settings/common.py index eb6c9ba9..9d6e175e 100644 --- a/redakcja/settings/common.py +++ b/redakcja/settings/common.py @@ -81,6 +81,7 @@ MIDDLEWARE_CLASSES = ( 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django_cas.middleware.CASMiddleware', 'django.middleware.doc.XViewMiddleware', 'pagination.middleware.PaginationMiddleware', @@ -89,6 +90,7 @@ MIDDLEWARE_CLASSES = ( AUTHENTICATION_BACKENDS = ( 'django.contrib.auth.backends.ModelBackend', + 'django_cas.backends.CASBackend', ) ROOT_URLCONF = 'redakcja.urls' @@ -115,6 +117,7 @@ INSTALLED_APPS = ( 'pagination', 'gravatar', + 'catalogue', 'dvcs', 'wiki', 'toolbar',