1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #24417 -- Added ModelAdmin.get_list_select_related()

This commit is contained in:
Loek van Gent
2015-03-16 11:00:16 +01:00
committed by Tim Graham
parent 8d90489fe0
commit 35b3158d52
4 changed files with 47 additions and 5 deletions

View File

@@ -43,6 +43,11 @@ Minor features
the old URL still redirects to the new one for backwards compatibility, but
it may be removed in a future version.
* :meth:`ModelAdmin.get_list_select_related()
<django.contrib.admin.ModelAdmin.get_list_select_related>` was added to allow
changing the ``select_related()`` values used in the admin's changelist query
based on the request.
:mod:`django.contrib.auth`
^^^^^^^^^^^^^^^^^^^^^^^^^^