mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixing #26524 -- Made a foreign key id reference in ModelAdmin.list_display display the id.
This commit is contained in:
committed by
Tim Graham
parent
c8d2120b06
commit
f6681393d3
@@ -253,6 +253,10 @@ Miscellaneous
|
||||
* CSRF failures are logged to the ``django.security.csrf ``` logger instead of
|
||||
``django.request``.
|
||||
|
||||
* Using a foreign key's id (e.g. ``'field_id'``) in ``ModelAdmin.list_display``
|
||||
displays the related object's ID instead of ``repr(object)``. Remove the
|
||||
``_id`` suffix if you want the ``repr()``.
|
||||
|
||||
.. _deprecated-features-1.11:
|
||||
|
||||
Features deprecated in 1.11
|
||||
|
||||
Reference in New Issue
Block a user