Opened 11 years ago

Closed 10 years ago

Last modified 9 years ago

#315 closed defect (fixed)

verbose_name_plural should be used in admin URLs

Reported by: jbennett@… Owned by: adrian
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 11 years ago by adrian

  • Resolution set to wontfix
  • Status changed from new to closed

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 10 years ago by minholi

  • Resolution wontfix deleted
  • Status changed from closed to reopened

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 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from reopened to closed

This is fixed in magic-removal.

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