Django: Display image in admin interface

前端 未结 7 1805
盖世英雄少女心
盖世英雄少女心 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.

提交回复
热议问题