#24126: Consider deprecating the current_app argument of auth views --------------------------------------+------------------------------------ Reporter: aaugustin | Owner: lukawoj Type: Cleanup/optimization | Status: assigned Component: contrib.auth | Version: master Severity: Normal | Resolution: Keywords: current_app | Triage Stage: Accepted Has patch: 1 | Needs documentation: 1 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+------------------------------------
Comment (by timgraham): It looks like the use case for adding `current_app` was for the admin: cc64fb5c4b4315a4ad66e21458e27ece57266847. If we automatically set the `current_app` as suggested in #24127, that would allow us to proceed with this deprecation without having to add `request.current_app = request.resolver_match.namespace` in all the admin callers in `contrib/admin/sites.py`. -- Ticket URL: <https://code.djangoproject.com/ticket/24126#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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.f92532dcac4f294ffab0e3155132e99e%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.