﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
3180	[patch] update() method for model instances	Gary Wilson <gary.wilson@…>	Adrian Holovaty	"{{{
#!rst
Updating objects
================

The ``create(**kwargs)`` method is a convenience method for updating and
saving an object all in one step.  If we were to get an object::

    p = Person.objects.get(pk=1)

Then, we could update the person's first and last name like so::

    p.update(first_name=""Bruce"", last_name=""Springsteen"")

Note that this would be equivalent to the following::

    p.first_name = ""Bruce""
    p.last_name = ""Springsteen""
    p.save()
}}}

The idea came from this discussion:

http://groups.google.com/group/django-developers/browse_thread/thread/49a6b99dbcea4364/"	enhancement	closed	Database layer (models, ORM)		normal	duplicate		gary.wilson@…	Unreviewed	1	0	0	0	0	0
