[django/django] 484f3e: Fixed #18400 -- Modified length template filter to...

3 views
Skip to first unread message

GitHub

unread,
Jun 5, 2014, 3:43:26 PM6/5/14
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: 484f3edf1e79388f73dcb07e39d79d0c5029ae9e
https://github.com/django/django/commit/484f3edf1e79388f73dcb07e39d79d0c5029ae9e
Author: Susan Tan <onceuponat...@gmail.com>
Date: 2014-06-05 (Thu, 05 Jun 2014)

Changed paths:
M django/template/defaultfilters.py
M docs/ref/templates/builtins.txt
M docs/releases/1.8.txt
M tests/template_tests/filters.py

Log Message:
-----------
Fixed #18400 -- Modified length template filter to return 0 for unknown variables.

Thanks Florian for the bug report, luyikei for the initial code patch, and
Bouke for the code review feedback.


Reply all
Reply to author
Forward
0 new messages