Friday, April 29, 2016

Display image instead of text in related-widget-wrapper of FK picker in admin interface.

How would one go about changing this:

into something where instead of 1, 2 there are pictures that correspond to those objects. The class itself is very simple:

Note that I use the picture already in the table view of this item (ie. admin/someapp/item/).

Can I somehow make the widget above also display the same image?


You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment