Created
July 19, 2012 12:51
-
-
Save drsm79/3143612 to your computer and use it in GitHub Desktop.
Flask app using blueprints
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
from flask import Flask, url_for | |
from user_api import users | |
app = Flask(__name__) | |
app.register_blueprint(users, url_prefix='/users') | |
if __name__ == "__main__": | |
app.run(debug=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment