I'm trying to call a function into a function in django but I keep getting:
The view app.views.function1 didn't return an HttpResponse object. It returned None instead.
My views are:
def function1(request):
[some api calls]
#Once this process is done I want to call my second function
function2()
and then I have
def function2(request):
How you call an other function in Django/Python easily
p.s. These functions could just be one, I just want to divide them to have my code more readable and have one function do only one thing.