I have written a patch to implement this, including tests. Would be happy
to submit that.
--
Ticket URL: <https://code.djangoproject.com/ticket/32219>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => Siburg
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:1>
Comment (by Claude Paroz):
Please push your patch as a [https://github.com/django/django/pulls Django
pull request].
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:2>
Comment (by Siburg):
Replying to [comment:2 Claude Paroz]:
> Please push your patch as a [https://github.com/django/django/pulls
Django pull request].
Pull request is here: https://github.com/django/django/pull/13710
Does not yet contain documentation updates because I'm not sure where
those should go. Failed the isort test because I did not change existing
order of imports. Would be happy to make that change.
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:3>
Comment (by Siburg):
Responded to code review comment, and changed the import ordering and
formatting while I was at it so it now passes the isort test as well.
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:4>
* needs_docs: 0 => 1
* stage: Unreviewed => Accepted
Comment:
Sounds reasonable, thanks. Docs changes are missing, e.g. a release note
about backwards incompatibility
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:5>
Comment (by Siburg):
Added
* The default ``verbose_name_plural`` for an ``InlineModelAdmin``
(sub-)class
is now its ``verbose_name + 's'`` if the ``verbose_name`` is specified
in
that ``InlineModelAdmin`` (sub-)class, instead of being the
``verbose_name_plural`` for the model class.
under the django.contrib.admin heading in the "Backwards incompatible
changes in 3.2" of the version 3.2 release notes.
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:6>
* needs_docs: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:7>
Comment (by Siburg):
Updated documentation as well. Figured out where it should go.
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:8>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:9>
Comment (by Siburg):
Will do.
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:10>
* needs_better_patch: 1 => 0
* version: 3.1 => 4.0
Comment:
Updated documentation to reflect anticipated inclusion in version 4.0,
added a versionchanged block and included links in the documentation.
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:11>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:12>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"1bd6a7a0acc11e249fca11c017505ad39f15ebf6" 1bd6a7a]:
{{{
#!CommitTicketReference repository=""
revision="1bd6a7a0acc11e249fca11c017505ad39f15ebf6"
Refs #32219 -- Added admin model inline tests for verbose names.
Co-authored-by: Mariusz Felisiak <felisiak...@gmail.com>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:13>
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:14>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"46c8df640cfed5dd525ac1bcf5ad7e57b7ff2571" 46c8df6]:
{{{
#!CommitTicketReference repository=""
revision="46c8df640cfed5dd525ac1bcf5ad7e57b7ff2571"
Fixed #32219 -- Made InlineModelAdmin.verbose_name_plural fallback to its
verbose_name.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32219#comment:15>