I wish to update a model instance from a form I have.
The form is a ModelForm, so it has the same attributes as the model instance, how do I transfer the attributes from the form instance to the model instance instead of doing this:
modelinstance.name = form.name . . . .
A for loop perhaps? :)
Thanks!