#1597: Pluralize filter should add the "s" on zero matches. -------------------------------+-------------------------------------------- Reporter: [EMAIL PROTECTED] | Owner: adrian Type: defect | Status: reopened Priority: low | Milestone: Component: Template system | Version: Severity: minor | Resolution: Keywords: | -------------------------------+-------------------------------------------- Changes (by SmileyChris):
* resolution: invalid => * status: closed => reopened Comment: Actually Adrian, the pluralize filter ''does'' also handle sequences. I'll reopen because it's resolution shouldn't be 'invalid'. But the code works for me (in Python at least): {{{ #!python >>> pluralize(['a', 'b']) 's' >>> pluralize([]) 's' >>> pluralize(['a']) '' >>> }}} -- 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 -~----------~----~----~----~------~----~------~--~---