Browse Source

Solução para a issue (#1298)

pull/1279/merge
Eduardo Calil 8 years ago
committed by Edward
parent
commit
174296720d
  1. 2
      sapl/crispy_layout_mixin.py

2
sapl/crispy_layout_mixin.py

@ -67,7 +67,7 @@ def get_field_display(obj, fieldname):
ou mesmo uma método no model.
"""
value = getattr(obj, fieldname)
verbose_name = ''
verbose_name = value.model._meta.verbose_name
else:
verbose_name = str(field.verbose_name)\

Loading…
Cancel
Save