Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 449
Nicu Surdu Avatar asked Mar 28 '26 20:03

Nicu Surdu


1 Answers

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

like image 141
Mohammad Efazati Avatar answered Mar 30 '26 13:03

Mohammad Efazati



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!