Closed joegasewicz closed 2 years ago
If and models decorated by file_upload.Model are imported before the flask-sqlalchemy is initiated then it blows up.
file_upload.Model
Potential solution: Check is the db.Model exists, if not then do nothing This is a breaking change.
db.Model
If and models decorated by
file_upload.Model
are imported before the flask-sqlalchemy is initiated then it blows up.Potential solution: Check is the
db.Model
exists, if not then do nothing This is a breaking change.