Browse Source

Merge pull request #1100 from thewhitetulip/patch-1

The example does not execute
pull/1136/head
Daniel Neuhäuser 10 years ago
parent
commit
a51a167937
  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