From ac8eb82abb23f7ae50ab85100619f13257b03526 Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Mon, 17 Dec 2012 10:35:36 +0100 Subject: [PATCH] Fixed typo in WidthRatioNode's error. --- django/template/defaulttags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py index aca2f41f2db..eb102b4c842 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)