Hello,
I am not able to figure out how to update the value of a custom field.
I am doing the following:
# get the device
>>> d = Device.objects.get(pk=1)
# check
>>> d.cf.keys()
dict_keys(['ios_version', 'is_sn_owner', 'is_covered', 'coverage_end'])
Trying something like:
>>> d.cf['ios_version'] = 'foobar' 'foobar'
This does not work.
Any help on how to update the values of the custom fields?
Thank you.
Kind regards,
Petrit