mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[2.2.x] Refs #20122 -- Corrected documentation of pluralize template filter.
Backport of e3968df527 from master
This commit is contained in:
committed by
Mariusz Felisiak
parent
2166fe337e
commit
bf9e0e342d
@@ -1992,8 +1992,8 @@ If ``value`` is ``800-COLLECT``, the output will be ``800-2655328``.
|
||||
``pluralize``
|
||||
-------------
|
||||
|
||||
Returns a plural suffix if the value is not 1. By default, this suffix is
|
||||
``'s'``.
|
||||
Returns a plural suffix if the value is not ``1``, ``'1'``, or an object of
|
||||
length 1. By default, this suffix is ``'s'``.
|
||||
|
||||
Example::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user