From eb0c8a6beea766812fb94712c27ed6e1e99d6249 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()