Changes between Initial Version and Version 1 of Ticket #37187
- Timestamp:
- Jun 24, 2026, 6:57:46 PM (4 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37187 – Description
initial v1 47 47 48 48 * 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.) 50 50 * 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). 51 51 * 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.)