diff options
| author | Aleksander Milinkevich <77437506+milinsoft@users.noreply.github.com> | 2024-04-11 23:00:17 +0200 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2024-04-12 12:18:39 -0300 |
| commit | 86d139f6a75eb52340dfbb183b355a05f8063543 (patch) | |
| tree | c7e60a689705b46b2dacebacc30e07be1d5c3336 | |
| parent | a1baaddb67a59f32db9e10f44ac76e9835ca4e84 (diff) | |
[5.0.x] Corrected description of list_display being a list in tutorial 7.
Backport of c223d14025dd9ef0d354332c537ed8622a1ec29c from main
| -rw-r--r-- | AUTHORS | 1 | ||||
| -rw-r--r-- | docs/intro/tutorial07.txt | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -122,6 +122,7 @@ answer newbie questions, and generally made Django that much better: av0000@mail.ru Axel Haustant <noirbizarre@gmail.com> Aymeric Augustin <aymeric.augustin@m4x.org> + Aleksander Milinkevich <milinsoft@gmail.com> Bahadır Kandemir <bahadir@pardus.org.tr> Baishampayan Ghose Baptiste Mispelon <bmispelon@gmail.com> diff --git a/docs/intro/tutorial07.txt b/docs/intro/tutorial07.txt index 8cb5dd5d5a..b47ae14bc2 100644 --- a/docs/intro/tutorial07.txt +++ b/docs/intro/tutorial07.txt @@ -199,7 +199,7 @@ Here's what it looks like at this point: By default, Django displays the ``str()`` of each object. But sometimes it'd be more helpful if we could display individual fields. To do that, use the :attr:`~django.contrib.admin.ModelAdmin.list_display` admin option, which is a -tuple of field names to display, as columns, on the change list page for the +list of field names to display, as columns, on the change list page for the object: .. code-block:: python |
