Ticket #2529: admin-doc.diff
File admin-doc.diff, 647 bytes (added by , 18 years ago) |
---|
-
django/contrib/admin/views/doc.py
328 328 """ 329 329 views = [] 330 330 for p in urlpatterns: 331 if hasattr(p, ' get_callback'):331 if hasattr(p, '_get_callback'): 332 332 try: 333 views.append((p. get_callback(), base + p.regex.pattern))333 views.append((p._get_callback(), base + p.regex.pattern)) 334 334 except ViewDoesNotExist: 335 335 continue 336 336 elif hasattr(p, '_get_url_patterns'):