Hi all,

I was wondering if there is built-in support for updating only
selected field(s) when calling model.save().
When I call save() on the object, django call SQL UPDATE for all
fields of the model, which is not ideal from performance point of
view.
I've found this snippet: http://www.djangosnippets.org/snippets/479/

But I'm asking myself if there is django built-in solution for this
problem, or better trick ?

Thanks

J.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to