mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #24707 -- Improved error reporting for explicitly imported uncallable views
This commit is contained in:
@@ -35,7 +35,7 @@ def pass_resolver_match_view(request, *args, **kwargs):
|
||||
response.resolver_match = request.resolver_match
|
||||
return response
|
||||
|
||||
uncallable = "Can I be a view? Pleeeease?"
|
||||
uncallable = None # neither a callable nor a string
|
||||
|
||||
|
||||
class ViewClass(object):
|
||||
|
||||
Reference in New Issue
Block a user