yunzi7's picture
Parse Mode Response (#3)
11133ef verified
raw
history blame
650 Bytes
from flask import Blueprint
from flask import flash
from flask import g
from flask import redirect
from flask import render_template
from flask import request
from flask import url_for
from werkzeug.exceptions import abort
from flask import session
from threading import Thread
from .auth import login_required
from .db import get_db
bp = Blueprint("introduction", __name__, url_prefix="/introduction")
@bp.route("/", methods=["GET", "POST"])
def introduction() -> None:
match request.method:
case "GET":
return render_template("introduction.html")
case "POST":
return redirect(url_for("topic.topic"))