Answer the question
In order to leave comments, you need to log in
How to add text to django admin?
I need to add a separator, so to speak, through the model class. This is necessary for a general understanding in the admin panel. for example, I have several fields, no matter what, I want to insert some kind of heading between them, just a text field (for example h3) to separate information visually.
How to add such a field through the model? so that it is without an input field and just displays the text.
for example, like this, highlighted in red (edited screen):
Answer the question
In order to leave comments, you need to log in
Documentation: https://docs.djangoproject.com/en/1.10/ref/contrib...
Example: stackoverflow.com/questions/1437991/django-admin-f...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question