24👍
✅
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)
to:
return run(request, build)
Of course this will only work if run
returns an HttpResponse
instance.
Source:stackexchange.com