1
0
mirror of https://github.com/django/django.git synced 2024-12-24 10:05:46 +00:00

Fixed typo in WidthRatioNode's error.

This commit is contained in:
Baptiste Mispelon 2012-12-17 10:35:36 +01:00
parent bbabfdccce
commit ac8eb82abb

View File

@ -453,7 +453,7 @@ class WidthRatioNode(Node):
except VariableDoesNotExist:
return ''
except (ValueError, TypeError):
raise TemplateSyntaxError("widthratio final argument must be an number")
raise TemplateSyntaxError("widthratio final argument must be a number")
try:
value = float(value)
max_value = float(max_value)