{"repo":"klis87/django-cloudinary-storage","free":true,"listed":false,"github":"https://github.com/klis87/django-cloudinary-storage","clone":"git clone https://github.com/klis87/django-cloudinary-storage.git","description":"Django package that provides Cloudinary storages for both media and static files as well as management commands for removing unnecessary files.","language":"Python","stars":136,"topics":["python","django","cloudinary","static-files"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Django Cloudinary Storage Django Cloudinary Storage is a Django package that facilitates integration with Cloudinary by implementing Django Storage API. With several lines of configuration, you can start using Cloudinary for both media and static files. Also, it provides management commands for removing unnecessary files, so any cleanup will be a breeze. It uses pycloudinary package under the hood. Table of content - Requirements - Installation - Usage with media files - Usage with raw files - Usage with video files - Usage with static files - Management commands - collectstatic - deleteorphanedmedia - deleteredundantstatic - Settings - How to run tests Requirements The package requires Python 3.4+ and Django 1.8+. It has been tested on Linux, Windows and Mac OS X. Installation To install the package, just run: If you need to upload any video files, run: which will additionally install python-magic for uploaded video validation. Also, in case you use Django ImageField , make sure you have Pillow installed: Once you have done that, add cloudinary and cloudinary storage to you installed apps in your settings.py . If you are going to use this package for static and/or media files, make sure that cloudinary storage is before django.contrib.staticfiles : because django-cloudinary-storage overwrites Django collectstatic command. If you are going to use it only for media files though, it is django.contrib.staticfiles which has to be first: Next, you need to add Cloudinary credential","default_branch":null,"files":null,"tree":[],"storefront":"/r/klis87","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/klis87/django-cloudinary-storage/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}