summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorhesham942 <heshamhatem2004@gmail.com>2025-03-14 15:16:38 +0200
committerNatalia <124304+nessita@users.noreply.github.com>2025-03-17 16:30:31 -0300
commit1d8696bfc6bf6af72b8452298d3e4c7bd43613c3 (patch)
tree09489243def001dab7ae1615155e181d3eb4ee2d /docs
parent181280027d998f676e82909c483f4f31e00828db (diff)
[5.2.x] Fixed #36252 -- Handled duplicate automatic imports in the shell command.
Backport of e804a07d76fc85468f27f7130ae1442fabcd650d from main.
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/custom-shell.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/howto/custom-shell.txt b/docs/howto/custom-shell.txt
index 312a38162b..c1632849b5 100644
--- a/docs/howto/custom-shell.txt
+++ b/docs/howto/custom-shell.txt
@@ -55,7 +55,8 @@ Running this customized ``shell`` command with ``verbosity=2`` would show:
from django.urls import resolve, reverse
If an overridden ``shell`` command includes paths that cannot be imported,
-these errors are shown when ``verbosity`` is set to ``1`` or higher.
+these errors are shown when ``verbosity`` is set to ``1`` or higher. Duplicate
+imports are automatically handled.
Note that automatic imports can be disabled for a specific ``shell`` session
using the :option:`--no-imports <shell --no-imports>` flag. To permanently