Ticket #10423: admin_view_10423.diff

File admin_view_10423.diff, 569 bytes (added by Brian Neal, 16 years ago)
  • django/contrib/admin/sites.py

     
    138138                   
    139139                    urls = super(MyAdminSite, self).get_urls()
    140140                    urls += patterns('',
    141                         url(r'^my_view/$', self.protected_view(some_view))
     141                        url(r'^my_view/$', self.admin_view(some_view))
    142142                    )
    143143                    return urls
    144144        """
Back to Top