#17271: QuerySet.none() doesn't work well with subclasses of QuerySet
-------------------------------------+-------------------------------------
     Reporter:  andreypopp           |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  SVN
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Wojciech Banaś <fizista@…>):

 * cc: fizista@… (added)


Comment:

 Replying to [comment:3 Wojciech Banaś <fizista@…>]:
 > The same does my patch ([[ticket:17270]]), but the filter is added to
 the manager and not in queries.

 I tested also a problem with the method of none () in my
 solution([[ticket:17270]]), and this problem does NOT exist there.

 So I think the filters should be located just in manager and not in the
 QuerySet.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17271#comment:4>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to