From e804a07d76fc85468f27f7130ae1442fabcd650d Mon Sep 17 00:00:00 2001 From: hesham942 Date: Fri, 14 Mar 2025 15:16:38 +0200 Subject: Fixed #36252 -- Handled duplicate automatic imports in the shell command. --- docs/howto/custom-shell.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') 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 ` flag. To permanently -- cgit v1.3