开发者

Change Django admin list layout

I have a Django application that have a lot of images items that have to be reviewed by content. So, I've made in the admin, when I list the images items, to see the thumbnails of the items instead of the ugly " string (like here).

My problem is that the list is di开发者_StackOverflow社区splayed on the vertical (1 image per line). Can I change the admin list layout to display more items per line? (the only item in my list is the image, there is no other information like url and title like in the example above)


customize admin view http://docs.djangoproject.com/en/dev/ref/contrib/admin/#ref-contrib-admin


You could to that with some JavaScript, like jQuery's Galleria for example.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜