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:
parent
acf28a8e48
commit
f9eb5aa7a2
1 changed files with 3 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue