Skip to content

Commit

Permalink
Fix build with Django 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
federicobond committed Jan 3, 2017
1 parent ed19dff commit 961bb35
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/input/func_noerror_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
# CONST_NAME_RGX value

from django.views.generic import TemplateView
from django.conf.urls import patterns, url
from django.conf.urls import url


class BoringView(TemplateView):
pass


urlpatterns = patterns('',
url(r'^something',
BoringView.as_view(),
name='something'),
)
urlpatterns = [
url(r'^something',
BoringView.as_view(),
name='something'),
]

0 comments on commit 961bb35

Please sign in to comment.