Permalink
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...
1 parent 07465b6 commit 8415c057fb65cd3fb53bf3c1d38c00d0ab458cad @jacobian jacobian committed Apr 6, 2009
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
"""

0 comments on commit 8415c05

Please sign in to comment.