Quantcast
Channel: User Christoffer - Stack Overflow
Viewing all articles
Browse latest Browse all 45

Answer by Christoffer for How to pass options to CloudinaryField in Django Model?

$
0
0

You can also add these kind of options to the form field like so:

image = CloudinaryFileField(
    label='My image',
    options={
        'tags': "module, home",
        'format': 'jpg',
        'crop': 'limit',
        'width': 640
    },
    required=False)

Viewing all articles
Browse latest Browse all 45

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>