1👍
✅
Anything after return HttpResponse
gets ignored as that line causes the view to return a HttpResponse
object. Which is what Django uses to construct the server reply with.
Just take that line out.
Source:stackexchange.com