Commit 7d44dc48 authored by frostbtn's avatar frostbtn Committed by GitHub

Make Django parser's get_nodelist context optional

parent 6b157a0b
......@@ -116,7 +116,7 @@ class DjangoParser(object):
def render_node(self, template, context, node):
return node.render(context, forced=True)
def get_nodelist(self, node, original, context):
def get_nodelist(self, node, original, context=None):
if isinstance(node, ExtendsNode):
if context is None:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment