1
0
mirror of https://github.com/django/django.git synced 2024-12-25 18:46:22 +00:00
django/tests/view_tests/default_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

9 lines
221 B
Python

from django.conf.urls import patterns, include, url
from django.contrib import admin
urlpatterns = patterns('',
# This is the same as in the default project template
url(r'^admin/', include(admin.site.urls)),
)