mirror of https://github.com/mitsuhiko/flask.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
282 B
11 lines
282 B
13 years ago
|
from flask import Flask
|
||
|
from simple_page.simple_page import simple_page
|
||
|
|
||
|
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(debug=True)
|