Skip to content

Commit

Permalink
Fixed #35737 -- Clarified where "models" comes from in tutorial 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariatta authored Sep 6, 2024
1 parent 03d52d2 commit 01a4d8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/intro/tutorial07.txt
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ underscores replaced with spaces), and that each line contains the string
representation of the output.

You can improve that by using the :func:`~django.contrib.admin.display`
decorator on that method (in :file:`polls/models.py`), as follows:
decorator on that method (extending the :file:`polls/models.py` file that was
created in :doc:`Tutorial 2 </intro/tutorial02>`), as follows:

.. code-block:: python
:caption: ``polls/models.py``
Expand Down

0 comments on commit 01a4d8a

Please sign in to comment.