wanjohikibui / django-project-management

Automatically exported from code.google.com/p/django-project-management
0 stars 0 forks source link

Correct plural forms in admin site #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
At the moment the plurals are created by Django adding a 's' at the end of the 
word.
It is possible to tell it what is the correct form in the Meta inner class of 
the model, together with other useful settings:

  class Meta:
    db_table = 'doodle'
    verbose_name = ('Doodle')
    verbose_name_plural = ('Doodles')
    ordering = ('doodle_date',)

i volunteer to fix it and send patches.

Original issue reported on code.google.com by a.ghi...@gmail.com on 12 Oct 2010 at 9:54

GoogleCodeExporter commented 8 years ago
Hi Anne,

I'd really appreciate the patches for this.

Original comment by moz...@gmail.com on 12 Oct 2010 at 2:07

GoogleCodeExporter commented 8 years ago
Done, I attach the patch here - if you prefer using the ml for sending patches, 
let me know!

cheers

Original comment by a.ghi...@gmail.com on 13 Oct 2010 at 8:53

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in r294 - thanks for the patch Anne!

Original comment by moz...@gmail.com on 13 Oct 2010 at 2:52