Posting this Django Project ticket that I opened to track the enhancement 
request to update multiple rows with different values for the same field 
for a particular Django queryset in a single SQL query without having to 
write raw SQL. 

https://code.djangoproject.com/ticket/23646

A possible SQL solution is outlined here but it should ideally be supported 
via the Django Manager I feel and not via a Raw SQL which becomes much 
harder to maintain.

http://stackoverflow.com/questions/18797608/update-multiple-rows-in-same-query-using-postgresql

Thoughts anyone?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/812f359d-13cb-43c1-9515-52632b663911%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to