Created
June 4, 2014 13:38
-
-
Save caio-nas/7129822f2be05a696d26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import a module / component using its blueprint handler variable | |
from blueprints.hello import blueprint as hello | |
from blueprints.web import blueprint as web | |
# Register blueprint(s) | |
app_context.register_blueprint(hello, url_prefix='/hello') | |
app_context.register_blueprint(web) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment