Merge pull request #1100 from thewhitetulip/patch-1
The example does not execute
This commit is contained in:
commit
a51a167937
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue