Fix bug in community list, the show_field templatetag is now getting
the fields already instantiated while the tag was expecting to instantiate them - Legacy-Id: 7099
This commit is contained in:
parent
8442eb37a2
commit
2922495e65
|
@ -52,7 +52,7 @@ def get_user_managed_lists(parser, token):
|
|||
@register.inclusion_tag('community/display_field.html', takes_context=False)
|
||||
def show_field(field, doc):
|
||||
return {'field': field,
|
||||
'value': field().get_value(doc),
|
||||
'value': field.get_value(doc),
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue