mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-10-30 23:39:54 +01:00 
			
		
		
		
	CAS Server support
This commit is contained in:
		| @@ -55,6 +55,8 @@ INSTALLED_APPS = [ | ||||
|     # Autocomplete | ||||
|     'dal', | ||||
|     'dal_select2', | ||||
|     # CAS | ||||
|     'cas_server', | ||||
|  | ||||
|     # Note apps | ||||
|     'activity', | ||||
| @@ -180,3 +182,7 @@ STATIC_URL = '/static/' | ||||
|  | ||||
| ALIAS_VALIDATOR_REGEX = r'' | ||||
|  | ||||
| # CAS Settings | ||||
| CAS_LOGO_URL = "/static/img/Saperlistpopette.png" | ||||
| CAS_FAVICON_URL = "/static/favicon/favicon-32x32.png" | ||||
|  | ||||
|   | ||||
| @@ -19,6 +19,9 @@ urlpatterns = [ | ||||
|     path('admin/doc/', include('django.contrib.admindocs.urls')), | ||||
|     path('admin/', admin.site.urls), | ||||
|  | ||||
|     # Include CAS routers | ||||
|     path(r'cas/', include('cas_server.urls', namespace="cas_server")), | ||||
|  | ||||
|     # Include Django REST API | ||||
|     path('api/', include('api.urls')), | ||||
| ] | ||||
|   | ||||
| @@ -4,6 +4,7 @@ defusedxml==0.6.0 | ||||
| Django~=2.2 | ||||
| django-allauth==0.39.1 | ||||
| django-autocomplete-light==3.5.1 | ||||
| django-cas-server==1.1.0 | ||||
| django-crispy-forms==1.7.2 | ||||
| django-extensions==2.1.9 | ||||
| django-filter==2.2.0 | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								static/img/Saperlistpopette.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								static/img/Saperlistpopette.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 2.6 MiB | 
		Reference in New Issue
	
	Block a user