#24141: contains() method for QuerySets
-------------------------------------+-------------------------------------
     Reporter:  gormster             |                    Owner:  (none)
         Type:  New feature          |                   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 Johan Schiff):

 * needs_docs:  1 => 0


Old description:

> Tests for object membership in a QuerySet. Trying to alleviate some of
> the newbies using `in` to test for membership and accidentally selecting
> the entire table.
>
> Discussion in django-developers:
> [https://groups.google.com/forum/#!msg/django-developers/NZaMq9BALrs/YC-
> Loq5ZAwAJ]
>
> Pull request:
> [https://github.com/django/django/pull/13038]

New description:

 Tests for object membership in a QuerySet. Trying to alleviate some of the
 newbies using `in` to test for membership and accidentally selecting the
 entire table.

 [https://groups.google.com/forum/#!msg/django-developers/NZaMq9BALrs/YC-
 Loq5ZAwAJ django-developers]
 [https://github.com/django/django/pull/13038 PR]

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/24141#comment:10>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.52a7402a8ee42a42320c201966387ad7%40djangoproject.com.

Reply via email to