A
A
Astrohas2017-04-10 09:18:12
Django
Astrohas, 2017-04-10 09:18:12

How to get the verbose_name of a field?

I want to get the value of the verbose_name field. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey K, 2017-04-10
@Astrohas

Model._meta.get_field('<field name>').verbose_name

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question