Browse Source

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
pull/1100/head
Suraj Patil 11 years ago
parent
commit
eb0c8a6bee
  1. 3
      examples/blueprintexample/blueprintexample.py

3
examples/blueprintexample/blueprintexample.py

@ -5,3 +5,6 @@ app = Flask(__name__)
app.register_blueprint(simple_page) app.register_blueprint(simple_page)
# Blueprint can be registered many times # Blueprint can be registered many times
app.register_blueprint(simple_page, url_prefix='/pages') app.register_blueprint(simple_page, url_prefix='/pages')
if __name__=='__main__':
app.run()

Loading…
Cancel
Save