jowilf / sqlalchemy-file

SQLAlchemy-file is a SQLAlchemy extension for attaching files to SQLAlchemy model and uploading them to various storage such as Local Storage, Amazon S3, Rackspace CloudFiles, Google Storage and others using Apache Libcloud.
https://jowilf.github.io/sqlalchemy-file/
MIT License
95 stars 12 forks source link

Can't find a way to store files inside a directory, instead of the root of the S3 bucket #159

Open NogueraMateo opened 1 month ago

NogueraMateo commented 1 month ago

Hello, I am working with this library and I have a profile_picture column with an "ImageField" type. I retrieved the S3 bucket and add it to the StoreManager.

The loading of the profile_pictures works fine, but it is storing the images in the root of the bucket, and I want the images to be stored in a directory like "users_pics" or something like that but I can't find the way.

I could use some help. Thanks!