mirror of https://github.com/django/django.git
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:
parent
07465b635d
commit
8415c057fb
|
@ -174,7 +174,7 @@ class AdminSite(object):
|
|||
|
||||
urls = super(MyAdminSite, self).get_urls()
|
||||
urls += patterns('',
|
||||
url(r'^my_view/$', self.protected_view(some_view))
|
||||
url(r'^my_view/$', self.admin_view(some_view))
|
||||
)
|
||||
return urls
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue