return http status code 204 from a django view,return HttpResponse(status=204)