from app.models import Person
person = Person.objects.get(name='Carl')
person.name = 'John'
person.save()
Now, there is a new, empty Person
entry in the database with the name John, but none of the other attributes that 'Carl' has (age, address, etc.). Furthermore, the original Carl object isn't changed at all.
How can I just change what the person's name
attribute is?