1
0
mirror of https://github.com/django/django.git synced 2024-12-29 12:36:08 +00:00
django/tests/view_tests/regression_21530_urls.py
Baptiste Mispelon a020dd0a99 Fixed #21530 -- Prevent AttributeError in default URLconf detection code.
Thanks to @dmyerscoug for the report and original patch
and to @alasdairnicol for the added tests.
2013-12-07 03:21:58 +01:00

6 lines
140 B
Python

from django.conf.urls import patterns, url
urlpatterns = patterns('',
url(r'^index/$', 'view_tests.views.index_page', name='index'),
)