#16211: using negated F()-expression in update query -------------------------------------+------------------------------------- Reporter: wdoekes | Owner: nobody Type: New feature | Status: new Component: Database layer | Version: master (models, ORM) | Resolution: Severity: Normal | Triage Stage: Accepted Keywords: | Needs documentation: 1 Has patch: 1 | Patch needs improvement: 1 Needs tests: 0 | UI/UX: 0 Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by charettes):
* cc: charette.s@… (added) * needs_docs: 0 => 1 * version: 1.4 => master * stage: Ready for checkin => Accepted * needs_better_patch: 0 => 1 Comment: @koenb, this patch is not RFC. I spotted two things worth fixing: 1. `ExpressionNode.__nonzero__` should be replaced by `__bool__` and `__nonzero__` should alias the latter for python 2.X compatibility. 2. The version added note in query documentation should be updated to 1.5 3. A release note should also be added. Moving back to ''Accepted''. -- Ticket URL: <https://code.djangoproject.com/ticket/16211#comment:18> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.