Skip to content

Commit 58ae5f3

Browse files
committed
Django 2 url paths don't need the regex
1 parent 8faed83 commit 58ae5f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangosaml2/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
urlpatterns = [
2121
path('login/', views.login, name='saml2_login'),
22-
path(r'^acs/$', views.AssertionConsumerServiceView.as_view(), name='saml2_acs'),
22+
path('acs/', views.AssertionConsumerServiceView.as_view(), name='saml2_acs'),
2323
path('logout/', views.logout, name='saml2_logout'),
2424
path('ls/', views.logout_service, name='saml2_ls'),
2525
path('ls/post/', views.logout_service_post, name='saml2_ls_post'),

0 commit comments

Comments
 (0)