Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix style nit

  • Loading branch information...
commit 800ba2eb58a390a2a065f47d0f7f71d71cdd4228 1 parent d931c16
@paltman paltman authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  notification/templatetags/captureas_tag.py
View
2  notification/templatetags/captureas_tag.py
@@ -2,6 +2,7 @@
register = template.Library()
+
@register.tag(name='captureas')
def do_captureas(parser, token):
try:
@@ -12,6 +13,7 @@ def do_captureas(parser, token):
parser.delete_first_token()
return CaptureasNode(nodelist, args)
+
class CaptureasNode(template.Node):
def __init__(self, nodelist, varname):
self.nodelist = nodelist
Please sign in to comment.
Something went wrong with that request. Please try again.