Uploading Images to Cloudinary

pip install cloudinary

settings.py

import cloudinary
import cloudinary.uploader
import cloudinary.api
INSTALLED_APPS = [
    'cloudinary'
    ]

Configuration Cloudinary account

Add the configuration credentials in settings.py as shown below:

models.py

Now When Save model image store in cloude

How To Show Html Template

same way to default django template

Last updated