cloudinary / cloudinary/pycloudinary

CloudinaryFileField doesn't show checkbox for clear the field

Ouverte
#258 2 commentaires 0 réactions 1 personne assignée Réclamée par @YomesInc Voir sur GitHub
Langage dominant
Python
Étoiles
262
Forks
134
Merge moyen
5 h 6 min
PR mergées (30 j)
5

Description

Hello,
I'm ussing the CloudinaryField in model to upload the image in my project but today I need add more options like "quality" so I implemented CloudinaryFileField in forms, it's works perfect. The issue that I have is the checkbox to clear (or delete) the file is dissapeared.
So, is there a way to add the checkbox?
`logo = CloudinaryFileField(
options={
'folder': "logos/",
#'eager': [{'crop': 'fill', 'width': 150, 'height': 100}]
'overwrite': True,
'quality': 20,
})`
This is before with the checkbox
![image](https://user-images.githubusercontent.com/33046883/95345208-e11cb580-0890-11eb-9697-0418cd0939f1.png)

And when I use CloudinaryFileField
![image](https://user-images.githubusercontent.com/33046883/95345069-be8a9c80-0890-11eb-9599-bb0d7bb01bd3.png)

Regards

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.