- Remove usage of django.urls.patterns - Change urls tuples to lists - Make all string view names callables
14 lines
608 B
Python
14 lines
608 B
Python
"""Url configuration for the auth module."""
|
|
|
|
from django.conf.urls import include, url
|
|
|
|
from .views import inactive_user_view, lti_login_and_complete_view, post_to_custom_auth_form, saml_metadata_view
|
|
|
|
urlpatterns = [
|
|
url(r'^auth/inactive', inactive_user_view, name="third_party_inactive_redirect"),
|
|
url(r'^auth/custom_auth_entry', post_to_custom_auth_form, name='tpa_post_to_custom_auth_form'),
|
|
url(r'^auth/saml/metadata.xml', saml_metadata_view),
|
|
url(r'^auth/login/(?P<backend>lti)/$', lti_login_and_complete_view),
|
|
url(r'^auth/', include('social_django.urls', namespace='social')),
|
|
]
|