Solutions Log

So I only have to figure things out once.

Pluralization of Database Models in Django

Part of the “magic-removal” was apparently removing automatic pluralization. That’s a shame. That’s one thing I really dig about Rails.

In your models.py file:

class Meta:
    verbose_name_plural = 'something'

So for a ‘Person’ model, you could put ‘people’. Now it will look right in the admin interface.

Comments