Python logoPython/
PYL-R5102

`HttpResponse()` returns `application/json` content typePYL-R5102

Major severityMajor
Anti-pattern categoryAnti-pattern

It is recommended to use JsonResponse to return JSON content. HttpResponse(content_type='application/json) can be replaced with just JsonResponse().