pycloudinary icon indicating copy to clipboard operation
pycloudinary copied to clipboard

pycloudinary does not implement Django's storage API

Open omerzimp opened this issue 9 years ago • 7 comments

The CloudinaryField is not a FileField which makes it harder to upload images with Django. Creating a custom storage backend is not that hard. See the documentation for details.

omerzimp avatar Jul 14 '14 15:07 omerzimp

Has anyone started work on this? I was thinking about it. May or may not have the time to do so.

bufke avatar Jan 21 '16 20:01 bufke

I don't think anyone has.

thedrow avatar Apr 05 '16 15:04 thedrow

@omerzimp, @bufke and @thedrow - We are looking into it.

tocker avatar Apr 23 '16 19:04 tocker

If anyone still needs Cloudinary storages, I've made a package providing those (both for static and media files) - https://github.com/klis87/django-cloudinary-storage . It also has management commands to clean unnecessary files. I hope you will find it useful.

klis87 avatar Aug 17 '16 19:08 klis87

Using the storages api is definitely the "django way" to handle media and should be a priority as it means that it would work well with a lot of other supplied & 3rd party components.

I'm unfortunately forced to add this caveat to recommendations that I give to colleagues & folks on the django irc which is a shame because the platform itself is nice. (Although django-cloudinary-storage does look promising!)

shangxiao avatar Dec 20 '17 07:12 shangxiao

+1 really need this. All my projects have a local environment which stores media files on my local file system thanks to the Django Storages API. The Cloudinary image field breaks that.

pfcodes avatar Oct 17 '22 10:10 pfcodes

@pfcodes can you use https://github.com/klis87/django-cloudinary-storage ?

tommyg-cld avatar Oct 17 '22 12:10 tommyg-cld