1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Updated a test to reflect the fact that "import *" isn't used in URLconfs anymore (refs #14675).

This commit is contained in:
Tim Graham
2018-12-31 10:24:28 -05:00
committed by GitHub
parent 100b8dd163
commit 1136d57f01
2 changed files with 2 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
# A URLconf that doesn't define any handlerXXX.
from django.conf.urls import url
from .views import bad_view, empty_view
urlpatterns = [
url(r'^test_view/$', empty_view, name="test_view"),
url(r'^bad_view/$', bad_view, name="bad_view"),
]