from flask import render_template, url_for from backstage import app @app.route('/backstage') @app.route('/backstage/home') def home(): return render_template('home.html') @app.route('/backstage/editor') def editor(): return render_template('editor.html', title='Type Editor', url='/collection/doll_and_drum_set')