routes.py 326 B

12345678910111213
  1. from flask import render_template, url_for
  2. from backstage import app
  3. @app.route('/backstage')
  4. @app.route('/backstage/home')
  5. def home():
  6. return render_template('home.html')
  7. @app.route('/backstage/editor')
  8. def editor():
  9. return render_template('editor.html', title='Type Editor', url='/collection/doll_and_drum_set')