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

15 views
Skip to first unread message

Patrik Mjartan

unread,
Apr 29, 2016, 10:46:23 PM4/29/16
to Django users
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?

Thanks!
Reply all
Reply to author
Forward
0 new messages