django-oidc-provider/example_project/provider_app/urls.py

13 lines
399 B
Python
Raw Normal View History

2015-04-28 17:55:35 +00:00
from django.contrib.auth import views as auth_views
2015-03-19 20:10:00 +00:00
from django.conf.urls import patterns, include, url
from django.contrib import admin
2015-04-28 17:55:35 +00:00
2015-03-19 20:10:00 +00:00
urlpatterns = patterns('',
2015-04-28 17:55:35 +00:00
url(r'^accounts/login/$', auth_views.login, {'template_name': 'accounts/login.html'}, name='login'),
2015-03-19 20:10:00 +00:00
url(r'^openid/', include('oidc_provider.urls', namespace='oidc_provider')),
url(r'^admin/', include(admin.site.urls)),
)