Replace strong to b html tag
This commit is contained in:
parent
2f1936ba36
commit
bca235b937
4
wine.py
4
wine.py
|
@ -268,9 +268,7 @@ class WineMixin(Model):
|
|||
field_name = '%s,%s' % (cls.__name__, key)
|
||||
label = (Translation.get_source(field_name, 'field', language)
|
||||
or getattr(cls, key).string)
|
||||
data += '<h2>%s</h2>%s' % (label, getattr(record, key))
|
||||
data += '<b>%s</b>%s' % (label, getattr(record, key))
|
||||
res[record.id] = data
|
||||
print('.....' * 10)
|
||||
print(res)
|
||||
|
||||
return res
|
||||
|
|
Loading…
Reference in New Issue