mirror of
https://github.com/Hopiu/django.git
synced 2026-05-13 01:53:09 +00:00
Merge pull request #595 from bmispelon/patch-1
Fixed a typo in WidthRatioNode.
This commit is contained in:
commit
a7b7d6320c
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue