Ticket #10423: admin_view_10423.diff
File admin_view_10423.diff, 569 bytes (added by , 16 years ago) |
---|
-
django/contrib/admin/sites.py
138 138 139 139 urls = super(MyAdminSite, self).get_urls() 140 140 urls += patterns('', 141 url(r'^my_view/$', self. protected_view(some_view))141 url(r'^my_view/$', self.admin_view(some_view)) 142 142 ) 143 143 return urls 144 144 """