diff options
author | Teddy Wing | 2014-04-20 20:34:08 -0400 |
---|---|---|
committer | Teddy Wing | 2014-04-20 20:34:08 -0400 |
commit | 471c12b7dc65aef83ed5e9d7623b2e95c68cf392 (patch) | |
tree | c9434868825105310a6c8c59c22e64cfee3f505b /sneak_peek_tag | |
parent | daa1a73f6ce7468314405862f5dc8903fd4c8238 (diff) | |
download | django-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.
Diffstat (limited to 'sneak_peek_tag')
-rw-r--r-- | sneak_peek_tag/templatetags/sneak_peek.py | 2 |
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: |