Changes between Initial Version and Version 1 of Ticket #37187


Ignore:
Timestamp:
Jun 24, 2026, 6:57:46 PM (4 hours ago)
Author:
Mike Edmunds
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37187 – Description

    initial v1  
    4747
    4848* If you replace `BookAdmin.get_list_select_related()` with `list_select_related = True`, you get a nice startup-time warning that points at the `class BookAdmin` definition in your own admin.py. But you still get the extraneous `select_related()` warning in wsgiref when visiting the view.
    49 * If you load the admin view from a test, the warnings will point to the `self.client.get("/admin/core/books/")` line instead of wsgiref. (That at least gives you some idea which code might be the problem.)
     49* If you load the admin view from a test, the warnings will point to the `self.client.get("/admin/yourapp/books/")` line instead of wsgiref. (That at least gives you some idea which code might be the problem.)
    5050* I suspect there's a similar issue with the warning for overriding get_actions()/get_action_choices() without the 'action_location' parameter (from #12090 - f30acb184f75fd9260cfd6ddc48a3bbbd49f9c1d).
    5151* The extraneous select_related() warning occurs in Django's tests, but is being suppressed by #37072. (The PR for that issue made it visible, and pulling that thread lead to this.)
Back to Top