from flask import Blueprint from flask import render_template page_bp = Blueprint('page', __name__) @page_bp.route('/') def index(): return render_template('index.html') @page_bp.route('/show') def test(): return render_template('show.html') @page_bp.route('/ordercount') def ordercount(): return render_template('ordercount.html') @page_bp.route('/streamordersummary') def streamodersummary(): return render_template('streamordersummary.html') @page_bp.route('/streamordernamecount') def streamodernamecount(): return render_template('streamordernamecount.html') @page_bp.route('/streamsummary') def streamsummary(): return render_template('streamsummary.html')