Skip to content

Commit a7b7d63

Browse files
committed
Merge pull request django#595 from bmispelon/patch-1
Fixed a typo in WidthRatioNode.
2 parents 0b09b1a + ac8eb82 commit a7b7d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django/template/defaulttags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def render(self, context):
453453
except VariableDoesNotExist:
454454
return ''
455455
except (ValueError, TypeError):
456-
raise TemplateSyntaxError("widthratio final argument must be an number")
456+
raise TemplateSyntaxError("widthratio final argument must be a number")
457457
try:
458458
value = float(value)
459459
max_value = float(max_value)

0 commit comments

Comments
 (0)