- url(r'^admin/', include(admin.site.urls)),
- url(r'^accounts/login/$', 'django_cas.views.login', name='login'),
- url(r'^accounts/logout/$', 'django_cas.views.logout', name='logout'),
-)
+urlpatterns = [
+ path('', RedirectView.as_view(url='archive/', permanent=False)),
+ path('archive/', include('archive.urls')),
+ path('youtube/', include('youtube.urls')),
+ path('publish/', include('apiclient.urls')),