1
0
mirror of https://github.com/django/django.git synced 2025-06-05 11:39:13 +00:00

Fixed #10423, a type on the AdminSite.admin_view docstring.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2009-04-06 21:11:10 +00:00
parent 07465b635d
commit 8415c057fb

View File

@ -174,7 +174,7 @@ class AdminSite(object):
urls = super(MyAdminSite, self).get_urls() urls = super(MyAdminSite, self).get_urls()
urls += patterns('', urls += patterns('',
url(r'^my_view/$', self.protected_view(some_view)) url(r'^my_view/$', self.admin_view(some_view))
) )
return urls return urls
""" """