I've tried these queries with these results: queryset.update(done=not F('boolean')) {'time': '0.001', 'sql': u'UPDATE "todo_item" SET "done" = True'}
queryset.update(done=(F('boolean')==False)) {'time': '0.001', 'sql': u'UPDATE "todo_item" SET "done" = False'} What I would like is something like this: queryset.update(done=F('done')) {'time': '0.002', 'sql': u'UPDATE "todo_item" SET "done" = "todo_item"."done"'} But with SET "done" = !"todo_item"."done" to toggle the boolean value -- 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.