Plural templatetags if quantity > 1: return single else return plural
Regarding to a quantity, use the singular or the plural in two distincts template variables.
- tags
- templatetags
- pluralize
Regarding to a quantity, use the singular or the plural in two distincts template variables.
it works like an original "pluralize" filter, but it need argument with 3 parts, splitted by comma.
2 snippets posted so far.