forked from orbit-oss/flask
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
0ce47a365f
commit
eb0c8a6bee
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