Correcting regression of '0' not being rendered bug.

This commit is contained in:
Carl Whittaker
2011-06-06 23:16:07 +01:00
parent d3eb3eb261
commit 3c60bfa0ce
+3
View File
@@ -13,6 +13,9 @@ def call(view, x, template=None):
x = x(template)
else:
x = x(view, template)
elif not x and x != 0:
return unicode('')
if callable(x):
x = x(template)