#22429: Wrong SQL generated when using ~Q and F -------------------------------------+------------------------------------- Reporter: sipp11 | Owner: nobody Type: Bug | Status: new Component: Database layer | Version: master (models, ORM) | Resolution: Severity: Normal | Triage Stage: Accepted Keywords: | Needs documentation: 0 Has patch: 0 | Patch needs improvement: 0 Needs tests: 0 | UI/UX: 0 Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by bmispelon):
* needs_better_patch: => 0 * version: 1.6 => master * stage: Unreviewed => Accepted * needs_tests: => 0 * needs_docs: => 0 Comment: Hi, I can indeed reproduce this on master and 1.6 but the example code seems to work in 1.5 (at least it doesn't trigger any traceback). Using `git bisect`, I found that commit b4492a8ca4a7ae4daa3a6b03c3d7a845fad74931 is the one that introduced the change. Thanks. -- Ticket URL: <https://code.djangoproject.com/ticket/22429#comment:1> 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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/064.f20280a1e3007c6d81eee1928b994b00%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.