Opened 13 years ago

Closed 12 years ago

Last modified 11 years ago

#315 closed defect (fixed)

verbose_name_plural should be used in admin URLs

Reported by: jbennett@… Owned by: Adrian Holovaty
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Even when verbose_name_plural is defined for a model, the URLs in the admin area will pluralize it by just tacking on an 's'. For example, in a model 'Entry' with verbose_name_plural set to 'entries', the admin URLs will still contain 'entrys'. Django should respect the setting for verbose_name_plural in this case.

Change History (3)

comment:1 Changed 13 years ago by Adrian Holovaty

Resolution: wontfix
Status: newclosed

The admin uses module_name for URLs. You can set module_name manually if you're concerned about your URLs.

verbose_name_plural might have spaces in it, so it's not a good candidate for use in URLs.

comment:2 Changed 13 years ago by minholi

Resolution: wontfix
Status: closedreopened

I was noticed that the urls on admin are wrong on some cases. Urls with spaces could use "_" in place of spaces and it'll work fine.

comment:3 Changed 12 years ago by Adrian Holovaty

Resolution: fixed
Status: reopenedclosed

This is fixed in magic-removal.

Note: See TracTickets for help on using tickets.
Back to Top