mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #29296 -- Fixed crashes in admindocs when a view is a callable object.
This commit is contained in:
@@ -13,3 +13,8 @@ def xview(request):
|
||||
class XViewClass(View):
|
||||
def get(self, request):
|
||||
return HttpResponse()
|
||||
|
||||
|
||||
class XViewCallableObject(View):
|
||||
def __call__(self, request):
|
||||
return HttpResponse()
|
||||
|
||||
Reference in New Issue
Block a user