summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-03-24 07:43:24 +0000
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-03-24 07:43:24 +0000
commitfd2efb35fbb4c031fb52d4b969b0d8118df6a8e2 (patch)
tree2c4b705799c38d288e4f189269927df9250a9618 /django
parent651c0414a8be83785f64db7efd88837f2a0f0ce1 (diff)
[1.3.X] Fixed #16677 -- Fixed the future version of the ssi template tag to work with template file names that contain spaces. Backport of r16687 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django')
-rw-r--r--django/templatetags/future.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/templatetags/future.py b/django/templatetags/future.py
index cd29dc276a..21a67dad58 100644
--- a/django/templatetags/future.py
+++ b/django/templatetags/future.py
@@ -22,7 +22,7 @@ def ssi(parser, token):
{% ssi "/home/html/ljworld.com/includes/right_generic.html" parsed %}
"""
- bits = token.contents.split()
+ bits = token.split_contents()
parsed = False
if len(bits) not in (2, 3):
raise TemplateSyntaxError("'ssi' tag takes one argument: the path to"