Rhubarb
Rhubarb

Reputation: 3993

How do you change a model name when it shows up in Django admin?

I have a model name called StoreEntry. Django admin changes it to look like 'Store Entrys'. This is weird. If anything it should be Store entries. Any idea what's going on here and how to change it?

Upvotes: 0

Views: 137

Answers (1)

Zach
Zach

Reputation: 19082

In the model's Meta class, set the verbose_name and verbose_name_plural. Docs.

Upvotes: 1

Related Questions