Compatibility up to Django 2.1, dropped < 1.8. Removed unused code, fixed tests.
[django-cas-provider.git] / cas_provider / urls.py
1 from __future__ import unicode_literals
2
3 from django.conf.urls import url
4 from cas_provider import views
5
6
7 urlpatterns = [
8     url(r'^login/merge/', views.login, {'merge': True, 'template_name': 'cas/merge.html'}),
9     url(r'^login/?$', views.login, name='cas_login'),
10     url(r'^socialauth-login/$', views.login, name='cas_socialauth_login'),
11     url(r'^validate/?$', views.validate, name='cas_validate'),
12     url(r'^proxy/?$', views.proxy, name='proxy'),
13     url(r'^serviceValidate/?$', views.service_validate, name='cas_service_validate'),
14     url(r'^proxyValidate/?$', views.proxy_validate, name='cas_proxy_validate'),
15     url(r'^logout/?$', views.logout, name='cas_logout'),
16 ]