#20241: QuerySets with callable filter args have said args evaluated only once
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
christopher.m.pike@… | Status: new
Type: Bug | Version: 1.5
Component: Database layer | Resolution:
(models, ORM) | Triage Stage: Accepted
Severity: Normal | Needs documentation: 0
Keywords: | Patch needs improvement: 0
Has patch: 0 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by michael.c.urbanski@…):
I was under the impression that callables in QuerySets, like callables in
fields, were called as they were used. Why pass in a callable if it's
only evaluated once?
--
Ticket URL: <https://code.djangoproject.com/ticket/20241#comment:2>
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].
For more options, visit https://groups.google.com/groups/opt_out.