Skip to content
Myr

The example does not execute

Before adoption: this commit came in with the history the project adopted, so no landing records it.

With the inclusion of the app.run we now are able to execute the program, it would be great if we'd have even more detailed docs available for the examples

authored by Suraj Patil · committed by Suraj Patil · parent 0ce47a3 · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:examples/blueprintexample/blueprintexample.py+3 added
3 unmodified lines
4app = 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()