Commit b0418508 authored by Mitar's avatar Mitar Committed by Tim Graham
Browse files

Allowed more easily subclassing of BlockNode tags.

parent 114b70cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ class BlockNode(Node):
                if block is None:
                    block = self
                # Create new block so we can store context without thread-safety issues.
                block = BlockNode(block.name, block.nodelist)
                block = type(self)(block.name, block.nodelist)
                block.context = context
                context['block'] = block
                result = block.nodelist.render(context)