[Fixed]-Django "view didn't return an HttpResponse object."


Django views are expected to return HttpResponse objects. Your view does call run but it does not return anything (remember that Python functions return None in the absence of a statement explicitly returning something else). So change this line from:

run(request, build)


return run(request, build)

Of course this will only work if run returns an HttpResponse instance.

Leave a comment