Closed Dev-Laurin closed 2 years ago
I found the issue. I was initiating the file_upload after I was trying to use it. Not sure how this worked in a previous version.
# If you require importing your SQLAlchemy models then make sure you import
# your models after calling `file_upload.init_app(app, db)` or `FileUpload(app, db)`.
from .model import *
There is an issue open for this https://github.com/joegasewicz/flask-file-upload/issues/111
AttributeError: 'FileUpload' object has no attribute 'Model'