mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
Cleanup final use of urls.patterns() method
- As deprecated in Django 1.9.
This commit is contained in:
parent
7f4c5f7410
commit
1e8cc6f290
@ -19,10 +19,9 @@
|
|||||||
Django URLconf file containing all urls
|
Django URLconf file containing all urls
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from django.conf.urls import patterns, url
|
from django.conf.urls import url
|
||||||
|
from . import views
|
||||||
|
|
||||||
|
urlpatterns = [
|
||||||
urlpatterns = patterns( # pylint: disable-msg=C0103
|
url(r'^$', views.index, name='index')
|
||||||
'plinth.views',
|
]
|
||||||
url(r'^$', 'index', name='index')
|
|
||||||
)
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user