1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

CAS Server support

This commit is contained in:
Yohann D'ANELLO 2020-02-22 14:20:22 +01:00
parent 8c364c769e
commit 4b7f40a046
4 changed files with 10 additions and 0 deletions

View File

@ -55,6 +55,8 @@ INSTALLED_APPS = [
# Autocomplete # Autocomplete
'dal', 'dal',
'dal_select2', 'dal_select2',
# CAS
'cas_server',
# Note apps # Note apps
'activity', 'activity',
@ -180,3 +182,7 @@ STATIC_URL = '/static/'
ALIAS_VALIDATOR_REGEX = r'' ALIAS_VALIDATOR_REGEX = r''
# CAS Settings
CAS_LOGO_URL = "/static/img/Saperlistpopette.png"
CAS_FAVICON_URL = "/static/favicon/favicon-32x32.png"

View File

@ -19,6 +19,9 @@ urlpatterns = [
path('admin/doc/', include('django.contrib.admindocs.urls')), path('admin/doc/', include('django.contrib.admindocs.urls')),
path('admin/', admin.site.urls), path('admin/', admin.site.urls),
# Include CAS routers
path(r'cas/', include('cas_server.urls', namespace="cas_server")),
# Include Django REST API # Include Django REST API
path('api/', include('api.urls')), path('api/', include('api.urls')),
] ]

View File

@ -4,6 +4,7 @@ defusedxml==0.6.0
Django~=2.2 Django~=2.2
django-allauth==0.39.1 django-allauth==0.39.1
django-autocomplete-light==3.5.1 django-autocomplete-light==3.5.1
django-cas-server==1.1.0
django-crispy-forms==1.7.2 django-crispy-forms==1.7.2
django-extensions==2.1.9 django-extensions==2.1.9
django-filter==2.2.0 django-filter==2.2.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB