In my django application, I use the admin interface to view all products, and each product can have multiple images. I put the images on the product page using the code below
class ProductImage_Inline(admin.StackedInline): model = ProductImage extra = 3 formfield_overrides = { ImageWithThumbnailField : {'widget' : AdminImageWithThumbnailWidget},
By default, on the "Product Administrator" page, I don’t see all the images, because all the entries in StackedInline are collapsed by default. I have to manually click on each of them to expand to see the image.
How do I, by default, expand all entries in StackedInline?
PS: I use the Grappelli theme and suspect that it rolls them by default.
Srihari
source share