django.conf.urls.patterns() deprecated in 1.8, removed in 1.10

Bug #1652606 reported by Tom Fifield on 2016-12-26
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
django-openid-auth
Undecided
Unassigned

Bug Description

urls.py uses django.conf.urls.patterns(), which was been deprecated in django 1.8 and removed in django 1.10:

https://docs.djangoproject.com/en/1.8/internals/deprecation/#deprecation-removed-in-1-10

https://docs.djangoproject.com/en/1.8/releases/1.8/#django-conf-urls-patterns

The fix for urls.py is something like this:

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

urlpatterns = [
    url(r'^login/$', views.login_begin, name='openid-login'),
    url(r'^complete/$', views.login_complete, name='openid-complete'),
    url(r'^logo.gif$', views.logo, name='openid-logo'),
]

Changed in django-openid-auth:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers