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:
parent
1ee5982b2c
commit
9e3efbecf8
|
@ -360,6 +360,10 @@ def cycle(parser, token):
|
|||
raise TemplateSyntaxError("Invalid arguments to 'cycle': %s" % args)
|
||||
cycle = register.tag(cycle)
|
||||
|
||||
def debug(parser, token):
|
||||
return DebugNode()
|
||||
debug = register.tag(debug)
|
||||
|
||||
#@register.tag(name="filter")
|
||||
def do_filter(parser, token):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue