#23533: Hook for default QuerySet filtering defined on the QuerySet itself.
-------------------------------------+-------------------------------------
Reporter: Loic Bistuer | Owner: Mariusz
| Felisiak
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
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 Mariusz Felisiak):
Brilliant idea, thanks Simon. `QuerySet.filter()` already exist so I think
we should use a different name for a class method to avoid confusion,
maybe `QuerySet.init_filter()` or `QuerySet.initial_filter()`.
--
Ticket URL: <https://code.djangoproject.com/ticket/23533#comment:5>
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 view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019ac4af7dd5-0eb35f4f-8aa4-4313-bf23-bc38ae5b5ef8-000000%40eu-central-1.amazonses.com.