Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 9e3efbecf801b90ce73009d86fea03d5c1788f37 1 parent 1ee5982
@adrianholovaty adrianholovaty authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 django/core/template/defaulttags.py
View
4 django/core/template/defaulttags.py
@@ -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):
"""
Please sign in to comment.
Something went wrong with that request. Please try again.