AdminImageWithThumbnailWidget fails because file path has no `name` attribute

Issue #1501 new
Former user created an issue

commit 41a5af0 changed the call to sorl.thumbnail.shortcuts.get_thumbnail to pass the file path string rather than the file object itself. this causes an AttributeError ('unicode' object has no attribute 'name')

@caleb smith or anyone, is there a reason why the call was changed? If not necessary, can we take it out?

Comments (2)

  1. Log in to comment