#1597: Pluralize filter should add the "s" on zero matches. -------------------------------+-------------------------------------------- Reporter: [EMAIL PROTECTED] | Owner: adrian Type: defect | Status: closed Priority: low | Milestone: Component: Template system | Version: Severity: minor | Resolution: invalid Keywords: | -------------------------------+-------------------------------------------- Changes (by adrian):
* resolution: => invalid * status: new => closed Comment: You pass {{{pluralize}}} a number, not a sequence. In your case, do this: {{{ some_sequence|length|pluralize }}} -- Ticket URL: <http://code.djangoproject.com/ticket/1597> Django <http://code.djangoproject.org/> The web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates -~----------~----~----~----~------~----~------~--~---