#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:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  1
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Johan Schiff):

 * cc: Johan Schiff (added)
 * status:  closed => new
 * resolution:  needsinfo =>
 * needs_tests:  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.

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.

 Discussion in django-developers:
 [https://groups.google.com/forum/#!msg/django-developers/NZaMq9BALrs/YC-
 Loq5ZAwAJ]

 Pull request:
 [https://github.com/django/django/pull/13038]

--

Comment:

 Reopening, based on discussion in django-developers.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/24141#comment:8>
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.4e3b8bbbe4096c67f3a6e70cd84f6a06%40djangoproject.com.

Reply via email to