1
0
mirror of https://github.com/django/django.git synced 2025-10-25 22:56:12 +00:00
Files
django/tests/view_tests/default_urls.py
Baptiste Mispelon 5a4884a978 [1.6.x] 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.

Backport of a020dd0a99 from master.
2013-12-07 03:30:07 +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)),
)