﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
8889	admindocs.views.view_index dies when views are callable classes	Matthew Flanagan <mattimustang@…>	nobody	"I'm using django_restapi and the django.contrib.admindocs Views listing dies with the traceback:

{{{
Traceback:
File ""/home/mflanaga/src/nong/vendor/django/django/core/handlers/base.py"" in get_response
  86.                 response = callback(request, *callback_args, **callback_kwargs)
File ""/home/mflanaga/src/nong/vendor/django/django/contrib/admin/views/decorators.py"" in _checklogin
  33.             return view_func(request, *args, **kwargs)
File ""/home/mflanaga/src/nong/vendor/django/django/contrib/admindocs/views.py"" in view_index
  131.                 'name': func.__name__,

Exception Type: AttributeError at /admin/docs/views/
Exception Value: 'Collection' object has no attribute '__name__'
}}}

This is because the Collection instance is callable rather than being a plain view function. I've attached a patch that fixes this."		closed	Contrib apps	1.0		fixed	admindocs		Accepted	1	0	0	0	0	0
