#11629: Callable QuerySet filter arguments not mentioned in documentation
--------------------------------------+------------------------------------
Reporter: harrym | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by manojlds@…):
I see it mentioned in the tutorials -
https://docs.djangoproject.com/en/dev/intro/tutorial05/
> Notice that we use a callable queryset argument, timezone.now, which
will be evaluated at request time. If we had included the parentheses,
timezone.now() would be evaluated just once when the web server is
started.
--
Ticket URL: <https://code.djangoproject.com/ticket/11629#comment:6>
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.