summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2012-12-17 10:35:36 +0100
committerBaptiste Mispelon <bmispelon@gmail.com>2012-12-17 10:35:36 +0100
commitac8eb82abb23f7ae50ab85100619f13257b03526 (patch)
tree5da1e254699036ed5a5ccb50bde131dc820c2be9
parentbbabfdcccee9ccd98fc140233dee748253bcb4a2 (diff)
Fixed typo in WidthRatioNode's error.
-rw-r--r--django/template/defaulttags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py
index aca2f41f2d..eb102b4c84 100644
--- a/django/template/defaulttags.py
+++ b/django/template/defaulttags.py
@@ -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)