1. Carl Meyer
  2. django-form-utils
  3. Issues
Issue #7 resolved

ImageWidget.render does not work with a S3 backend

created an issue

If my storage backend is an S3 backend the PIL check inside ImageWidget.render fails.

Any reason to not check like this instead of using PIL.



if hasattr(value, 'url') and hasattr(value, 'width') and hasattr(value, 'height'): # use value.url instead of settings.MEDIA_ROOT }}}

Comments (2)

  1. Log in to comment