1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2024-12-24 03:02:21 +00:00

Use Django CAS Server to be authenticated to the Matrix server

This commit is contained in:
Yohann D'ANELLO 2020-10-28 17:03:11 +01:00
parent d73a92c7f7
commit 2ead8cdad5
3 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,7 @@ INSTALLED_APPS = [
'polymorphic',
'rest_framework',
'rest_framework.authtoken',
'cas_server',
'api',
'eastereggs',

View File

@ -35,6 +35,8 @@ urlpatterns = [
path('media/authorization/photo/<str:filename>/', PhotoAuthorizationView.as_view(), name='photo_authorization'),
path('cas/', include('cas_server.urls', namespace="cas_server")),
path('', include('eastereggs.urls')),
]

View File

@ -1,5 +1,6 @@
Django~=3.0
django-bootstrap-datepicker-plus
django-cas-server
django-crispy-forms
django-extensions
django-filter