diff options
Diffstat (limited to 'django')
| -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 7b75615c20..c1ca947753 100644 --- a/django/template/defaulttags.py +++ b/django/template/defaulttags.py @@ -746,7 +746,7 @@ def do_for(parser, token): ========================== ================================================ """ - bits = token.contents.split() + bits = token.split_contents() if len(bits) < 4: raise TemplateSyntaxError("'for' statements should have at least four" " words: %s" % token.contents) |
