I am using django-stdimage
in my Django app and it works great, the only problem is that I want to remove the 'Currently' string, the clear checkbox and the rest of the decoration from the HTML template. I can't figure out how to achieve this.
Here is the StdImageField declaration inside my models.py
:
photo = StdImageField(upload_to=join('img', 'agents'),
variations={'thumbnail': (100, 100, True)}, default=None,
null=True, blank=True, )
I have read several SO answer about modifying the ImageField widget to use the class ClearableFileInput
but it seems that the widget
attribute is not allowed as a StdImageField
class parameter.
Is there a way to remove all this decoration?
Thank you.