aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2014-04-20 20:34:08 -0400
committerTeddy Wing2014-04-20 20:34:08 -0400
commit471c12b7dc65aef83ed5e9d7623b2e95c68cf392 (patch)
treec9434868825105310a6c8c59c22e64cfee3f505b
parentdaa1a73f6ce7468314405862f5dc8903fd4c8238 (diff)
downloaddjango-sneak-peek-471c12b7dc65aef83ed5e9d7623b2e95c68cf392.tar.bz2
sneak_peek.py: surround default style with quotes
Now that we require quotes around the style argument, add quotes to the default style.
-rw-r--r--sneak_peek_tag/templatetags/sneak_peek.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sneak_peek_tag/templatetags/sneak_peek.py b/sneak_peek_tag/templatetags/sneak_peek.py
index 4b771f4..a8b9a3e 100644
--- a/sneak_peek_tag/templatetags/sneak_peek.py
+++ b/sneak_peek_tag/templatetags/sneak_peek.py
@@ -5,7 +5,7 @@ register = Library()
@register.tag(name="sneak_peek")
def sneak_peek(parser, token):
tag = None
- style = 'default'
+ style = '"default"'
try:
tag, style = token.split_contents()
except ValueError: