#35736: Incorrect pluralization of model names in the admin panel
-------------------------------------+-------------------------------------
               Reporter:  Sanjeev    |          Owner:  Sanjeev Holla S
  Holla S                            |
                   Type:  Bug        |         Status:  assigned
              Component:             |        Version:  5.0
  Uncategorized                      |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  1          |
-------------------------------------+-------------------------------------
 Whenever we register a model, in the admin panel the names of these models
 are shown in the plural form. But as of now, a sufix of 's' is being added
 to the name of the model. This is not correct in all the cases. So for
 example, if the name of the model is `company` then it will be shown as
 `Companys` on the admin page. So this can be fixed by having the correct
 plural forms of the model names.

 So inorder to fix this, when the `verbose_name_plural` is set, we can
 derive the correct suffix that needs to be added from the `verbose_name`
 (ex: 's', 'es', or 'ies'). Let me know if I am wrong anywhere.
 (This is my first ticket, so apologies if anything doesn’t meet the
 standards. :) )
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35736>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070191c3057f6f-dce18c0e-2f11-4eb4-957e-b711cf8c0f14-000000%40eu-central-1.amazonses.com.

Reply via email to