How can I return something and still proceed? In this case, Hello World should be printed in the console. I want to keep the return because i need to execute a function that returns either None or an Httpresponse
def filter_pending_documents(request):
return pass #code should not stop here
print('Hello World')
return HttpResponse('')