123456789101112131415161718 |
- from flask import (
- Flask, redirect, render_template, request, flash, jsonify, send_file
- )
- from contacts_model import Contact, Archiver
- # ========================================================
- # Flask App
- # ========================================================
- app = Flask(__name__)
- app.secret_key = b'hypermedia rocks'
- @app.route("/")
- def index():
- return redirect("/contacts")
|