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
9 path('', RedirectView.as_view(url='/accounts/', permanent=False)),
12 path('cas/', include('cas_provider.urls')),
15 path('admin/doc/', include('django.contrib.admindocs.urls')),
16 path('admin/', admin.site.urls),
18 path('accounts/', include('accounts.urls')),
19 path('auth/', include('django.contrib.auth.urls')),
24 from django.views.static import serve
26 path('media/<path>', serve, {
27 'document_root': settings.MEDIA_ROOT,