from flask import Flask, url_for, redirect, render_template

app = Flask(__name__)

@app.route("/to_list")
def to_list():
    return redirect("list")

@app.route("/")
def index():
    return redirect(url_for("show_list"))

@app.route("/list")
def show_list():
    return "list"

app.run()

6bebe407d1c1e5aefae03c6fe67862d41343cc9c
<mask token>


@app.route('/to_list')
def to_list():
    return redirect('list')


@app.route('/')
def index():
    return redirect(url_for('show_list'))


@app.route('/list')
def show_list():
    return 'list'


<mask token>

<mask token>


@app.route('/to_list')
def to_list():
    return redirect('list')


@app.route('/')
def index():
    return redirect(url_for('show_list'))


@app.route('/list')
def show_list():
    return 'list'


app.run()

<mask token>
app = Flask(__name__)


@app.route('/to_list')
def to_list():
    return redirect('list')


@app.route('/')
def index():
    return redirect(url_for('show_list'))


@app.route('/list')
def show_list():
    return 'list'


app.run()

from flask import Flask, url_for, redirect, render_template
app = Flask(__name__)


@app.route('/to_list')
def to_list():
    return redirect('list')


@app.route('/')
def index():
    return redirect(url_for('show_list'))


@app.route('/list')
def show_list():
    return 'list'


app.run()

from flask import Flask, url_for, redirect, render_template

app = Flask(__name__)

@app.route("/to_list")
def to_list():
    return redirect("list")

@app.route("/")
def index():
    return redirect(url_for("show_list"))

@app.route("/list")
def show_list():
    return "list"

app.run()
