3

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 displayed 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)

Community
  • 1
  • 1
Nicu Surdu
  • 8,172
  • 9
  • 68
  • 108

2 Answers2

2

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

Mohammad Efazati
  • 4,812
  • 2
  • 35
  • 50
  • I don't know how I've missed this. The more accurate link would be this one: http://docs.djangoproject.com/en/dev/ref/contrib/admin/#overriding-admin-templates – Nicu Surdu Nov 25 '10 at 08:23
0

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

Izz ad-Din Ruhulessin
  • 5,955
  • 7
  • 28
  • 28