[Flask] Registering Flask-SQLAlchemy models from an extension
gergely at polonkai.eu
Sun Feb 11 14:27:17 EST 2018
I want to create an extension that, among other things, defines ORM models.
Being an extension, this means it is not me who defines the
flask_sqlalchemy.SQLAlchemy object, so I canʼt write my model classes like
Is there a recipe for this scenario?
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Flask