diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-11-28 20:48:08 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-11-28 20:48:08 +0000 |
| commit | 9e3efbecf801b90ce73009d86fea03d5c1788f37 (patch) | |
| tree | ba5b1ac9e529b0acc21a71a7d9c9e32e6e410473 | |
| parent | 1ee5982b2c2d353c74e73a84d80638a94035a45c (diff) | |
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
| -rw-r--r-- | django/core/template/defaulttags.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/django/core/template/defaulttags.py b/django/core/template/defaulttags.py index d70d2a6933..89b35c2513 100644 --- a/django/core/template/defaulttags.py +++ b/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): """ |
