Form field description in django admin

djangodjango-admindjango-forms

How to add hint for the form field in django admin like in next example?

form field description in django admin

(here: URL and Content descriptions are shown with gray color under field)

Best Answer

When defining your fields in models.py:

myfield = models.CharField(max_length=100, help_text="This is the grey text")

Bookmark this link:

https://docs.djangoproject.com/en/dev/ref/models/fields/#help-text

I find myself referring to it all the time (not just for help_text, but for everything to do with model fields)!