#8462: length and length_is filters don't fail silently --------------------------------------+------------------------------------- Reporter: magneto | Owner: nobody Status: new | Milestone: Component: Template system | Version: SVN Resolution: | Keywords: length Stage: Accepted | Has_patch: 0 Needs_docs: 0 | Needs_tests: 1 Needs_better_patch: 1 | --------------------------------------+------------------------------------- Changes (by SmileyChris):
* needs_better_patch: => 1 * stage: Unreviewed => Accepted * summary: template tag Length and the 'error' => length and length_is filters don't fail silently * needs_tests: => 1 * needs_docs: => 0 Comment: This is also an issue for `length_is`. I think returning `''` would make more sense for the length filter (it's invalid, not `0`) -- Ticket URL: <http://code.djangoproject.com/ticket/8462#comment:1> Django <http://code.djangoproject.com/> 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?hl=en -~----------~----~----~----~------~----~------~--~---