Skip to content

Instantly share code, notes, and snippets.

@drsm79
Created July 19, 2012 12:51
Show Gist options
  • Save drsm79/3143612 to your computer and use it in GitHub Desktop.
Save drsm79/3143612 to your computer and use it in GitHub Desktop.
Flask app using blueprints
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