1 from django.urls import path, include
2 from django.views.generic import RedirectView
3 from django.contrib import admin
4 from django.conf import settings
7 admin.site.site_header = settings.SITE_TITLE
11 path('', RedirectView.as_view(url=settings.LOGIN_REDIRECT_URL, permanent=False)),
14 path('cas/', include('cas_provider.urls')),
17 path('admin/doc/', include('django.contrib.admindocs.urls')),
18 path('admin/', admin.site.urls),
20 path('accounts/', include('accounts.urls')),
21 path('email/', include('emails.urls')),
22 path('services/', include('services.urls')),
23 path('ssh/', include('ssh_keys.urls')),
24 path('auth/', include('django.contrib.auth.urls')),
29 from django.views.static import serve
31 path('media/<path>', serve, {
32 'document_root': settings.MEDIA_ROOT,