Re: [Django] #25991: A new implementation for exclude() queries

2024-03-18 Thread Django
#25991: A new implementation for exclude() queries
-+-
 Reporter:  Anssi Kääriäinen |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Ülgen Sarıkavak):

 * cc: Ülgen Sarıkavak (added)

-- 
Ticket URL: 
Django 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018e506a047c-6fd0643f-6966-4905-a098-ed4ffc91373f-00%40eu-central-1.amazonses.com.


Re: [Django] #25991: A new implementation for exclude() queries

2016-01-01 Thread Django
#25991: A new implementation for exclude() queries
-+-
 Reporter:  akaariai |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by timgraham):

 * needs_better_patch:  0 => 1


Comment:

 As Ansii noted on the pull request, "I still found some cases that do not
 work the way they should. So, this needs a bit more work...".

--
Ticket URL: 
Django 
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/066.38bfd0bd87e835c60d0478dd994929ba%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25991: A new implementation for exclude() queries

2015-12-28 Thread Django
#25991: A new implementation for exclude() queries
-+-
 Reporter:  akaariai |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by CarstenF):

 * cc: carsten.fuchs@… (added)


--
Ticket URL: 
Django 
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/066.cfa4a03302302acc8fa2e219058ee5be%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25991: A new implementation for exclude() queries

2015-12-27 Thread Django
#25991: A new implementation for exclude() queries
-+-
 Reporter:  akaariai |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by akaariai):

 Related tickets:

  - https://code.djangoproject.com/ticket/14645
  - https://code.djangoproject.com/ticket/18726
  - https://code.djangoproject.com/ticket/21703
  - https://code.djangoproject.com/ticket/23797
  - https://code.djangoproject.com/ticket/24386

 The first one (#14645) deals with the issue mentioned in this ticket's
 description. It should be fixed by this ticket. The rest of the tickets
 are various failures in .exclude() queries, and these might be fixed by
 this ticket, but I haven't verified those yet.

--
Ticket URL: 
Django 
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/066.79149358fd0c608958a242e2b06343b4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #25991: A new implementation for exclude() queries

2015-12-27 Thread Django
#25991: A new implementation for exclude() queries
-+-
   Reporter:  akaariai   |  Owner:  nobody
   Type:  Bug| Status:  new
  Component:  Database   |Version:  master
  layer (models, ORM)|
   Severity:  Normal |   Keywords:
   Triage Stage:  Accepted   |  Has patch:  1
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  0
  UI/UX:  0  |
-+-
 The idea is to prewalk the Q-object, split it into parts that need to go
 into a subquery, and then add the filtered subqueries into the main query.

 This ticket deals with problems of doing
 `Author.objects.exclude(friends__age__gte=20, friends__age__lte=40)`.
 Currently this creates two joins to friends, so that any author with
 either a friend older than 20 or a friend younger than 40 is matched. The
 correct interpretation is that any author with a friend with age between
 20 and 40 is matched.

--
Ticket URL: 
Django 
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/051.694b46dc08f2cceb801002271f403fbb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.