8 lines
194 B
Python
8 lines
194 B
Python
from flask import Blueprint, redirect, url_for, render_template
|
|
|
|
bp = Blueprint("app", __name__, url_prefix = "/")
|
|
|
|
@bp.route("/")
|
|
def index():
|
|
return redirect(url_for("topics.all_topics"))
|