dgg
dgg

Reputation: 342

How to add a label to a Django admin field

I am trying to add some helper text to the admin for data entry people who will take over.

Something like: "Check the dropdown for a category before adding a new one."

Is django admin customization capable of doing this?

enter image description here

Upvotes: 1

Views: 702

Answers (1)

JPG
JPG

Reputation: 88659

You could add help_text in model as,


class MyModel(models.Model):
    myfield = models.CharField(help_text='My Help Text')



Screenshot

enter image description here

Upvotes: 4

Related Questions