revert 4b9ab388b6
partially
This commit is contained in:
parent
0ab14ce18a
commit
f2f35c01ed
|
@ -49,7 +49,7 @@ class RenderableMixin:
|
|||
'Subclasses of RenderableMixin must provide a get_context() method.'
|
||||
)
|
||||
|
||||
def render(self, template_name=None, context=None, field=None, renderer=None):
|
||||
def render(self, template_name=None, context=None, renderer=None):
|
||||
return mark_safe((renderer or self.renderer).render(
|
||||
template_name or self.template_name,
|
||||
context or self.get_context(),
|
||||
|
|
Loading…
Reference in New Issue