Skip to content

Files

Latest commit

 

History

History
7 lines (4 loc) · 184 Bytes

http-response-with-json-dumps.md

File metadata and controls

7 lines (4 loc) · 184 Bytes

Pattern: Use of HttpResponse(json.dumps(data))

Issue: -

Description

Used when json.dumps() is used as an argument to HttpResponse(). Use JsonResponse(data) instead.