Restored {% debug %} template tag, which was inadvertently removed in [1443]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-11-28 20:48:08 +00:00
parent 1ee5982b2c
commit 9e3efbecf8
1 changed files with 4 additions and 0 deletions

View File

@ -360,6 +360,10 @@ def cycle(parser, token):
raise TemplateSyntaxError("Invalid arguments to 'cycle': %s" % args) raise TemplateSyntaxError("Invalid arguments to 'cycle': %s" % args)
cycle = register.tag(cycle) cycle = register.tag(cycle)
def debug(parser, token):
return DebugNode()
debug = register.tag(debug)
#@register.tag(name="filter") #@register.tag(name="filter")
def do_filter(parser, token): def do_filter(parser, token):
""" """