0
@app.route('/novo') #novo.html
def novo():
if 'usuario_logado' not in session or session['usuario_logado'] == None:
return redirect('/loguin?proxima=novo')
return render_template('novo.html', titulo='Novo Jogo')
Return redirect('/loguin? next=new')
This answers your question? What are Path Parameters in a URI?
– Cmte Cardeal
This answer talks more about Query Strings
– Cmte Cardeal