0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00

Eliminate 'patterns' from wagtailusers/urls.py as per https://code.djangoproject.com/ticket/22218

This commit is contained in:
Matt Westcott 2014-04-25 16:59:37 +01:00
parent 8cb983eb22
commit c6cc149627

View File

@ -1,8 +1,8 @@
from django.conf.urls import patterns, url
from django.conf.urls import url
from wagtail.wagtailusers.views import users
urlpatterns = patterns(
'wagtail.wagtailusers.views',
url(r'^$', 'users.index', name='wagtailusers_index'),
url(r'^new/$', 'users.create', name='wagtailusers_create'),
url(r'^(\d+)/$', 'users.edit', name='wagtailusers_edit'),
)
urlpatterns = [
url(r'^$', users.index, name='wagtailusers_index'),
url(r'^new/$', users.create, name='wagtailusers_create'),
url(r'^(\d+)/$', users.edit, name='wagtailusers_edit'),
]