Is there a way to save the model using a dictionary
eg. it works fine
p1 = Poll.objects.get(pk=1)
p1.name = 'poll2'
p1.descirption = 'poll2 description'
p1.save()
but what if I have a dictionary, for example {'name': 'poll2', 'description:' poll2 description '}
there is an easy way to save such a dictionary directly in the survey
source
share