Skip to content

Commit 3e0c64d

Browse files
committed
Fix test suite for Django 1.11
1 parent 01f62c7 commit 3e0c64d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/testapp/urls.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
from django.urls import path
1+
try:
2+
from django.urls import path
3+
except ImportError:
4+
from django.conf.urls import url as path
25

36
from . import views
47

0 commit comments

Comments
 (0)