diff options
| author | Aleksander Milinkevich <77437506+milinsoft@users.noreply.github.com> | 2024-04-11 23:00:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-11 18:00:17 -0300 |
| commit | c223d14025dd9ef0d354332c537ed8622a1ec29c (patch) | |
| tree | 5f7e58a8a8ea67b094290c2a3089bbaa885d56a0 /docs | |
| parent | 8bbf73ca749d7740c82a7cd52f38289444070900 (diff) | |
Corrected description of list_display being a list in tutorial 7.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/intro/tutorial07.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
