django-versatileimagefield icon indicating copy to clipboard operation
django-versatileimagefield copied to clipboard

Default admin widget issue

Open dg1980 opened this issue 7 years ago • 0 comments

Hi guys,

After setting up VersatileImageField as model field admin image filed widget looks strange and chaotic. Html items are displayed incorrectly. I use Django 1.11.5.

When I skipped following two lines in VersatileImageField class:

if kwargs.get('widget') is AdminFileWidget:
     del kwargs['widget']

widget looks like before (standard).

I know this is not the right solution, but I can not find the "bug" that causes this behavior in the admin form.

Could you help me?

dg1980 avatar Nov 19 '17 20:11 dg1980