1 from django.conf import settings
2 from django.conf.urls import include, url
3 from django.views.generic import RedirectView
4 import django_cas_ng.views
6 # Uncomment the next two lines to enable the admin:
7 from django.contrib import admin
11 url(r'^$', RedirectView.as_view(url='archive/', permanent=False)),
12 url(r'^archive/', include('archive.urls')),
13 url(r'^publish/', include('apiclient.urls')),
15 url(r'^admin/', admin.site.urls),
16 url(r'^accounts/login/$', django_cas_ng.views.LoginView.as_view(), name='login'),
17 url(r'^accounts/logout/$', django_cas_ng.views.LogoutView.as_view(), name='logout'),