mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2024-12-24 17:42:21 +00:00
Use Django CAS Server to be authenticated to the Matrix server
This commit is contained in:
parent
d73a92c7f7
commit
2ead8cdad5
@ -60,6 +60,7 @@ INSTALLED_APPS = [
|
||||
'polymorphic',
|
||||
'rest_framework',
|
||||
'rest_framework.authtoken',
|
||||
'cas_server',
|
||||
|
||||
'api',
|
||||
'eastereggs',
|
||||
|
@ -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')),
|
||||
]
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
Django~=3.0
|
||||
django-bootstrap-datepicker-plus
|
||||
django-cas-server
|
||||
django-crispy-forms
|
||||
django-extensions
|
||||
django-filter
|
||||
|
Loading…
Reference in New Issue
Block a user