A
A
Alex Xmel2022-03-13 19:08:33
Django
Alex Xmel, 2022-03-13 19:08:33

How to arrange models in the admin panel?

Comrades, good afternoon.
Help with a simple question: If there are many models that are displayed in the admin panel, but some models are needed more often, some less often. Those that are used constantly, I want them to be located at the very top, the less important ones at the bottom.
At the moment, in the model in the Meta class, I give a name with a number:

class Meta:
    verbose_name_plural = '1. Важная табличка'

class Meta:
    verbose_name_plural = '9. Не важная табличка'

and in the end everything is arranged as I need it, but in theory there should be a way to arrange them in the order I need and at the same time not write numbers in the name of the display. Tell me the way.
Thanks to.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Melnikov, 2022-03-13
@Mi11er

There is no standard way.
If only packages , some

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question