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:
parent
8cb983eb22
commit
c6cc149627
@ -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'),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user