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:
Ole Laursen 2014-01-10 14:50:17 +00:00
parent 8442eb37a2
commit 2922495e65

View file

@ -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),
}