From f9eb5aa7a2e26d0e9e6e29dd089ad7a84f24e75b Mon Sep 17 00:00:00 2001 From: Suraj Patil Date: Thu, 3 Jul 2014 18:19:09 +0530 Subject: [PATCH] The example does not execute 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 --- examples/blueprintexample/blueprintexample.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/blueprintexample/blueprintexample.py b/examples/blueprintexample/blueprintexample.py index 925f4845..78ee3a5b 100644 --- a/examples/blueprintexample/blueprintexample.py +++ b/examples/blueprintexample/blueprintexample.py @@ -5,3 +5,6 @@ app = Flask(__name__) app.register_blueprint(simple_page) # Blueprint can be registered many times app.register_blueprint(simple_page, url_prefix='/pages') + +if __name__=='__main__': + app.run()