add sync of deputy biography field
This commit is contained in:
parent
e5f8bbdcd6
commit
6de3a26357
|
@ -100,6 +100,13 @@ class SyncFromThemis(UtilityView):
|
|||
outputMimeType='text/x-html-safe')
|
||||
else:
|
||||
object.current_functions = None
|
||||
if data.get('biography'):
|
||||
object.biography = RichTextValue(
|
||||
raw=data.get('biography'),
|
||||
mimeType='text/html',
|
||||
outputMimeType='text/x-html-safe')
|
||||
else:
|
||||
object.biography = None
|
||||
for address in ('private_address', 'work_address', 'work_address_2'):
|
||||
if not data.get(address):
|
||||
continue
|
||||
|
|
Reference in New Issue