All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
HttpResponse()
application/json
It is recommended to use JsonResponse to return JSON content. HttpResponse(content_type='application/json) can be replaced with just JsonResponse().
JsonResponse
HttpResponse(content_type='application/json)
JsonResponse()