Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Jacob Kaplan-Moss authored April 06, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/admin/sites.py
2  django/contrib/admin/sites.py
@@ -174,7 +174,7 @@ def get_urls(self):
174 174
 
175 175
                     urls = super(MyAdminSite, self).get_urls()
176 176
                     urls += patterns('',
177  
-                        url(r'^my_view/$', self.protected_view(some_view))
  177
+                        url(r'^my_view/$', self.admin_view(some_view))
178 178
                     )
179 179
                     return urls
180 180
         """

0 notes on commit 8415c05

Please sign in to comment.
Something went wrong with that request. Please try again.