diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-12-29 13:39:52 -0800 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-12-29 13:39:52 -0800 |
| commit | a7b7d6320c6838e884778c92a0d478b6df980628 (patch) | |
| tree | 64745f1c2e4ac4cb96dc2fa24a0c295d60c838a1 | |
| parent | 0b09b1a7ca1a29fb303549a789916969f0391f99 (diff) | |
| parent | ac8eb82abb23f7ae50ab85100619f13257b03526 (diff) | |
Merge pull request #595 from bmispelon/patch-1
Fixed a typo in WidthRatioNode.
| -rw-r--r-- | django/template/defaulttags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py index b5c8cf2d36..7b75615c20 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) |
