A
A
Alexander Bondarenko2021-10-11 15:29:21
Django
Alexander Bondarenko, 2021-10-11 15:29:21

How to change display of inlines in django?

Hello everyone, how can I change the display of Inlines. Now they are in a row, how can they be made into a column? There is a jazzmin admin panel. Perhaps you need to somehow rewrite the styles, tell me where and how to reconnect them, thanks.yTM0D.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Akulinin, 2021-10-11
@bond_1013

The inline admin panel with display in lines is inherited from the TabularInline class. If you want the fields to be arranged in a column, then you need to inherit from StackedInline

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question