#11629: Callable QuerySet filter arguments not mentioned in documentation ---------------------------+------------------------------------------------ Reporter: harrym | Owner: nobody Status: new | Milestone: Component: Documentation | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ Apologies if I've missed this somewhere, but I couldn't find anything in the documentation that states that the keyword arguments passed to a `QuerySet's` filter method may be callable. This is useful in cases such as when `QuerySets` are constructed for generic views, and you want to filter by a time relative to now. This appears in the code in django/db/models/sql/query.py, line 1546.
-- Ticket URL: <http://code.djangoproject.com/ticket/11629> Django <http://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 -~----------~----~----~----~------~----~------~--~---
