Skip to content

Commit d193665

Browse files
authored
Merge pull request #88 from federicobond/fix-django1.10
Fix build with Django 1.10
2 parents ed19dff + c6bf424 commit d193665

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@ python:
66
- "3.4"
77
- "3.5"
88
env:
9-
- DJANGO='Django>=1.4,<1.5' SKIP='3.3 3.4 3.5'
10-
- DJANGO='Django>=1.5,<1.6' SKIP='3.3 3.4 3.5'
11-
- DJANGO='Django>=1.6,<1.7' SKIP='3.4 3.5'
12-
- DJANGO='Django>=1.7,<1.8' SKIP='2.6'
9+
- DJANGO='Django>=1.7,<1.8' SKIP='2.6 3.5'
1310
- DJANGO='Django>=1.8,<1.9' SKIP='2.6'
14-
- DJANGO='Django>=1.9,<1.10' SKIP='2.6'
15-
- DJANGO='Django>=1.10,<1.11' SKIP='2.6'
11+
- DJANGO='Django>=1.9,<1.10' SKIP='2.6 3.3'
12+
- DJANGO='Django>=1.10,<1.11' SKIP='2.6 3.3'
1613
install:
1714
scripts/travis-install.sh
1815
script:

test/input/func_noerror_urls.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
# CONST_NAME_RGX value
99

1010
from django.views.generic import TemplateView
11-
from django.conf.urls import patterns, url
11+
from django.conf.urls import url
1212

1313

1414
class BoringView(TemplateView):
1515
pass
1616

1717

18-
urlpatterns = patterns('',
19-
url(r'^something',
20-
BoringView.as_view(),
21-
name='something'),
22-
)
18+
urlpatterns = [
19+
url(r'^something',
20+
BoringView.as_view(),
21+
name='something'),
22+
]

0 commit comments

Comments
 (0)