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
This commit is contained in:
Suraj Patil 2014-07-03 18:19:09 +05:30
parent acf28a8e48
commit f9eb5aa7a2

View file

@ -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()