summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorarsalan64 <68010697+arsalan64@users.noreply.github.com>2025-09-27 16:13:13 +0200
committerJacob Walls <jacobtylerwalls@gmail.com>2025-10-13 16:22:30 -0400
commit7c2ff0ffd71e3830658e3148b94761ff2d95aafc (patch)
treebfdabb11188bea5aa11136d2dce3f9db333f3f7b /docs
parent0fa339ce71bae6f9cebe341876f6aa41840ca2ff (diff)
[6.0.x] Fixed #36625 -- Mentioned exit() in tutorial's instruction to restart the shell.
Backport of 92d0c21e69901cb7b749040670d3e6611353e1fa from main.
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/tutorial02.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt
index af9f717225..23bf6c4c94 100644
--- a/docs/intro/tutorial02.txt
+++ b/docs/intro/tutorial02.txt
@@ -441,8 +441,13 @@ time-zone-related utilities in :mod:`django.utils.timezone`, respectively. If
you aren't familiar with time zone handling in Python, you can learn more in
the :doc:`time zone support docs </topics/i18n/timezones>`.
-Save these changes and start a new Python interactive shell by running
-``python manage.py shell`` again:
+Save these changes and start a new Python interactive shell. (If a
+three-chevron prompt (>>>) indicates you are still in the shell, you need to
+exit first using ``exit()``). Run ``python manage.py shell`` again to reload
+the models.
+
+.. RemovedInDjango70Warning: When Python 3.12 is no longer supported,
+ ``exit()`` can be replaced with ``exit``.
.. code-block:: pycon