def redirect_function()
# code
# redirects to a route
@app.something(/'something')
def something():
# code
redirect_function
# code
Now obviously this won't work because of the return redirect... in the redirect_function() .
Does anyone have any suggestions on what I should return instead of return redirect... in the def redirect_function() ?