#27729: Add a method to evaluate QuerySets.
-------------------------------------+-------------------------------------
Reporter: AlbinLindskog | Owner:
| AlbinLindskog
Type: New feature | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: wontfix
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 Tim Graham):
* status: assigned => closed
* resolution: => wontfix
Comment:
QuerySet's can't do in-memory filtering. In your test
`test_evaluate_does_not_query_database`, `numbers.filter(num__lte=5)`
can't return the correct results without doing another query. I suspect
the test passes because it doesn't evaluate that queryset.
--
Ticket URL: <https://code.djangoproject.com/ticket/27729#comment:3>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/071.942329b1c5e23afd9c9a7a120fc397a8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.