There was an error while loading. Please reload this page.
2 parents 0b09b1a + ac8eb82 commit a7b7d63Copy full SHA for a7b7d63
django/template/defaulttags.py
@@ -453,7 +453,7 @@ def render(self, context):
453
except VariableDoesNotExist:
454
return ''
455
except (ValueError, TypeError):
456
- raise TemplateSyntaxError("widthratio final argument must be an number")
+ raise TemplateSyntaxError("widthratio final argument must be a number")
457
try:
458
value = float(value)
459
max_value = float(max_value)
0 commit comments