- from flask import (
- Flask, redirect
- )
- # ========================================================
- # Flask App
- # ========================================================
- app = Flask(__name__)
- app.secret_key = b'hypermedia rocks'
- @app.route("/")
- def index():
- return redirect("/contacts")
|