Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 8415c057fb65cd3fb53bf3c1d38c00d0ab458cad 1 parent 07465b6
@jacobian jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/sites.py
View
2  django/contrib/admin/sites.py
@@ -174,7 +174,7 @@ def get_urls(self):
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
"""
Please sign in to comment.
Something went wrong with that request. Please try again.