mirror of
https://github.com/django/django.git
synced 2025-07-04 17:59:13 +00:00
fixed missing """ in the code
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
3d9eabdbe1
commit
df06056a17
@ -260,6 +260,8 @@ def do_include(parser, token):
|
|||||||
Example::
|
Example::
|
||||||
|
|
||||||
{% include "foo/some_include" %}
|
{% include "foo/some_include" %}
|
||||||
|
"""
|
||||||
|
|
||||||
bits = token.contents.split()
|
bits = token.contents.split()
|
||||||
if len(bits) != 2:
|
if len(bits) != 2:
|
||||||
raise TemplateSyntaxError, "%r tag takes one argument: the name of the template to be included" % bits[0]
|
raise TemplateSyntaxError, "%r tag takes one argument: the name of the template to be included" % bits[0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user