Django: Display image in admin interface

前端 未结 7 1813
盖世英雄少女心
盖世英雄少女心 2020-11-28 23:00

I\'ve defined a model which contains a link an image. Is there a way to display the image in the model items list? My model looks like this:

class Article(mo         


        
相关标签:
7条回答
  • 2020-11-28 23:42

    http://www.djangosnippets.org/snippets/239/

    there that, plus, if you're using 1.2 you can combine the above with read-only fields.

    0 讨论(0)
提交回复
热议问题