7 lines
191 B
Python
7 lines
191 B
Python
from flask import Blueprint, redirect, url_for, render_template
|
|
bp = Blueprint('app', __name__, url_prefix = '/')
|
|
|
|
@bp.get('/')
|
|
def index():
|
|
return redirect(url_for('topics.all_topics'))
|