Upgrades.
[audio.git] / src / audiobooks / urls.py
1 from django.contrib import admin
2 from django.urls import include, path
3 from django.views.generic import RedirectView
4 from django.contrib import admin
5 import django_cas_ng.views
6
7
8 urlpatterns = [
9     path('', RedirectView.as_view(url='archive/', permanent=False)),
10     path('archive/', include('archive.urls')),
11     path('youtube/', include('youtube.urls')),
12     path('publish/', include('apiclient.urls')),
13
14     path('admin/', admin.site.urls),
15     path('accounts/login/', django_cas_ng.views.LoginView.as_view(), name='cas_ng_login'),
16     path('accounts/logout/', django_cas_ng.views.LogoutView.as_view(), name='cas_ng_logout'),
17 ]