2015-06-08 16:01:09 +00:00
|
|
|
from django.contrib.auth import views as auth_views
|
2016-08-04 16:35:27 +00:00
|
|
|
from django.conf.urls import include, url
|
2015-06-08 16:01:09 +00:00
|
|
|
from django.contrib import admin
|
|
|
|
from django.views.generic import TemplateView
|
|
|
|
|
|
|
|
|
2016-08-04 16:35:27 +00:00
|
|
|
urlpatterns = [
|
2015-06-08 16:01:09 +00:00
|
|
|
url(r'^$', TemplateView.as_view(template_name='home.html'), name='home'),
|
|
|
|
url(r'^accounts/login/$', auth_views.login, {'template_name': 'accounts/login.html'}, name='login'),
|
|
|
|
url(r'^accounts/logout/$', auth_views.logout, {'template_name': 'accounts/logout.html'}, name='logout'),
|
|
|
|
|
|
|
|
url(r'^openid/', include('oidc_provider.urls', namespace='oidc_provider')),
|
|
|
|
|
|
|
|
url(r'^admin/', include(admin.site.urls)),
|
2016-08-04 16:35:27 +00:00
|
|
|
]
|