#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: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by bmispelon):
* has_patch: 0 => 1
Comment:
On top of being undocumented, that feature is also untested (full test
suite still passed after removing the two lines that call the value if
it's callable).
Plus, as mentionned on #20241, this feature is going to be tricky to
implement in a useful way.
Consequently, I propose to remove the feature altogether (going through
the usual deprecation path).
Here's a PR with docs and some tests:
https://github.com/django/django/pull/2091
--
Ticket URL: <https://code.djangoproject.com/ticket/11629#comment:9>
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/064.cae99a02ef0baaeafedb45dc48a0c76c%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.