ImageWithThumbnailField hardcodes "picture" as attribute name

Create issue
Issue #1121 resolved
Patryk Zawadzki created an issue

It breaks if there is no "picture" field in the model, interestingly enough it does not use the field for anything at all.

Attached is a patch that makes the signal handler only care about its own field instead of cleaning all fields in each handler (which resulted in quite a number of unnecessary glob calls). It also removes the hardcoded picture attribute.

Comments (1)

  1. Log in to comment