from quart import Blueprint, render_template, request, redirect, url_for, flash from flask_login import login_required bp = Blueprint('manage', 'manage', url_prefix='/manage') @bp.route('') @login_required async def index(): return await render_template('manage.html') @bp.route('/upload', methods=['GET', 'POST']) @login_required async def upload(): return await render_template('upload.html')