Django — Django Admin Model Name Override / Verbose Name

Since so much admin functionality has moved to AdminSite, I couldn’t find the answer to this very easily on google searches.

Despite the move towards towards ModelAdmin for admin-specific stuff, verbose_name’s are still defined in your Model.

Add the following to your models Meta class.

class Meta:
    verbose_name = "foo"
    verbose_name_plural = "foobars" 

to avoid names like Entrys.

4 Comments

  1. anon says:

    This helps me very much!

  2. Jed says:

    Awesome! kinda new to Django still, and wasn’t sure how to set this.

  3. Martin says:

    Thank you!
    I played around with app_label first, but it broke the url for a to me unknown reason.

Leave a reply to twty1988 Cancel reply