Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Flask-Bitmapist - ORM mixin example
from flask_sqlalchemy import SQLAlchemy
from flask_bitmapist import Bitmapistable
db = SQLAlchemy(app) # with `app` as the initialized Flask app
class User(db.Model, Bitmapistable):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.