#17985: Document ModelAdmin.lookup_allowed()
-------------------------------+---------------------------------------
Reporter: 3point2 | Owner: Simon Meers
Type: New feature | Status: assigned
Component: Documentation | Version: 1.4
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
-------------------------------+---------------------------------------
Comment (by Simon Meers):
So the deprecation would involve:
- Adding a heads-up in `internals/deprecation.txt` that `request` will be
required in `2.0` (or do we have to go further ahead -- `2.1`?)
- Adding code to `lookup_allowed` in the current implementation that
accepts both parameter formats (with/without request) and provides a
deprecation warning if request is absent -- can this be in `1.11`, or does
that need to be in `2.0`?
- Then performing the change in https://github.com/django/django/pull/8904
(and removing the deprecation warning)
- Hopefully https://github.com/django/django/pull/8903 can be merged in
the meanwhile to close #28496 and lay the foundation for the simpler patch
for #22569?
--
Ticket URL: <https://code.djangoproject.com/ticket/17985#comment:15>
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/065.169c03c7dd059845898f02a790166ccc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.