Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of url patterns as it's removed in Django 1.10 #10

Merged
merged 2 commits into from
Mar 31, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove use of url patterns as it's removed in Django 1.10
  • Loading branch information
jacobh committed Sep 1, 2016
commit 1ca0b80395fdc3c984a18945c7a0843b08a2a5a3
15 changes: 7 additions & 8 deletions django_saml2_auth/urls.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from django.conf.urls import url, patterns

from django.conf.urls import url
from . import views

app_name = 'django_saml2_auth'

urlpatterns = patterns(
'django_saml2_auth.views',
url(r'^acs/$', "acs", name="acs"),
url(r'^welcome/$', "welcome", name="welcome"),
url(r'^denied/$', "denied", name="denied"),
)
urlpatterns = [
url(r'^acs/$', views.acs, name="acs"),
url(r'^welcome/$', views.welcome, name="welcome"),
url(r'^denied/$', views.denied, name="denied"),
]