Press enter to see results or esc to cancel.

Customizing Model Properties & Classes in Django’s Admin

Verbose names in Django allow you to customize the headings in list_display, form fields, and even the name that appears in the admin for the model Class. Adding a verbose name to any model, property, or method will ensure that pretty names are used everywhere in the Django admin. In the example below, the model Class Ppl would appear in the admin as Person, fName would appear as First Name, and anytime you get the full name in the list display for Person that table header would be Full Name rather than Get full name.

Note: I suggest that you name model Classes singular because Django will make them plural by adding an ‘s’ in certain views.