File "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
Exception Type: TypeError at /admin/
Exception Value: 'dict' object is not callable
Failing line context:
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response)
def inner(request):
try:
response = get_response(request) …
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Local vars:
exc: TypeError("'dict' object is not callable")
get_response: {'SITE_READ_ONLY': False}
request: <WSGIRequest: GET '/admin/'>
Traceback:
Failing line context:
Local vars:
Environment: