1
0
mirror of https://github.com/django/django.git synced 2025-10-19 19:59:26 +00:00

Fixed #36625 -- Mentioned exit() in tutorial's instruction to restart the shell.

This commit is contained in:
arsalan64 2025-09-27 16:13:13 +02:00 committed by Jacob Walls
parent 1ae8a42af1
commit 92d0c21e69

View File

@ -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