mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2024-12-25 07:02:20 +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',
|
'polymorphic',
|
||||||
'rest_framework',
|
'rest_framework',
|
||||||
'rest_framework.authtoken',
|
'rest_framework.authtoken',
|
||||||
|
'cas_server',
|
||||||
|
|
||||||
'api',
|
'api',
|
||||||
'eastereggs',
|
'eastereggs',
|
||||||
|
@ -35,6 +35,8 @@ urlpatterns = [
|
|||||||
|
|
||||||
path('media/authorization/photo/<str:filename>/', PhotoAuthorizationView.as_view(), name='photo_authorization'),
|
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')),
|
path('', include('eastereggs.urls')),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
Django~=3.0
|
Django~=3.0
|
||||||
django-bootstrap-datepicker-plus
|
django-bootstrap-datepicker-plus
|
||||||
|
django-cas-server
|
||||||
django-crispy-forms
|
django-crispy-forms
|
||||||
django-extensions
|
django-extensions
|
||||||
django-filter
|
django-filter
|
||||||
|
Loading…
Reference in New Issue
Block a user