Opened 3 hours ago
Closed 39 minutes ago
#37056 closed Cleanup/optimization (duplicate)
Default verbose_name_plural may cause ambiguity or naming conflicts in certain cases
| Reported by: | Zhehao Zhang | Owned by: | |
|---|---|---|---|
| Component: | Internationalization | Version: | 6.0 |
| Severity: | Normal | Keywords: | plural |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
When verbose_name_plural is not explicitly defined in a Django model, Django automatically generates it by appending an "s" to the singular verbose_name (or the model class name if verbose_name is not set). This naive pluralization rule can lead to ambiguity, incorrect grammar, or even naming conflicts in certain scenarios.
Attachments (2)
Change History (3)
by , 2 hours ago
by , 2 hours ago
comment:1 by , 39 minutes ago
| Component: | Uncategorized → Internationalization |
|---|---|
| Resolution: | → duplicate |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
For the grammar concern, this is captured in #11688. The other concerns can be addressed by setting the value yourself.