summaryrefslogtreecommitdiffstats
path: root/univnautes_idp/urls_public.py
blob: e2e2024d538921651c7dbd70f3cce978076c2180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from django.conf.urls import patterns, url, include
from django.views.generic import TemplateView, RedirectView
from authentic2.urls import urlpatterns as authentic2_urlpatterns

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$', TemplateView.as_view(template_name='univnautes-idp/homepage.html')),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^admin_tools/', include('admin_tools.urls')),
    url(r'^logout/$', RedirectView.as_view(url='/admin/logout'), name='auth_logout'),
)