3
Guys I have the following code:
<div>
<h4>{{ combination|length }} combinação{{ combination|length|pluralize }}</h4>
<h5><b>Total:</b> {{ combination.paginator.count }} combinação{{ combination.paginator.count|pluralize }}</h5>
</div>
It returns me the number of combinations. I mean, in the plural it is making combinations. How to fix this?
Thank you. Mainly for education.
– Regis Santos
Oops! It’s a pleasure to help. I forgot to post the link to the https://docs.djangoproject.com/en/1.9/ref/templates/builtins/#pluralize
– André Duarte