Skip to content
Myr

blueprintexample.py

This file

Path

examples/blueprintexample/blueprintexample.py

10 lines · 267 bytes · Python

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than eca5306 point at it.

Merge pull request #1262 from msabramo/JSONIFY_END_WITH_NEWLINEMarkus Unterwaditzerbefore adoptioneca5306

lines 1–10why, one step back
1from flask import Flask
2from simple_page.simple_page import simple_page34app = Flask(__name__)5app.register_blueprint(simple_page)6# Blueprint can be registered many times7app.register_blueprint(simple_page, url_prefix='/pages')89if __name__=='__main__':10 app.run()