1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +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:
Georg Bauer 2005-11-22 23:18:47 +00:00
parent 3d9eabdbe1
commit df06056a17

View File

@ -260,6 +260,8 @@ def do_include(parser, token):
Example::
{% include "foo/some_include" %}
"""
bits = token.contents.split()
if len(bits) != 2:
raise TemplateSyntaxError, "%r tag takes one argument: the name of the template to be included" % bits[0]