#36287: manage.py shell: Way to surpress "objects imported automatically" 
message.
-------------------------------------+-------------------------------------
     Reporter:  Collin Anderson      |                    Owner:  (none)
         Type:  New feature          |                   Status:  closed
    Component:  Core (Management     |                  Version:  5.2
  commands)                          |
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  automatic imports    |             Triage Stage:
  shell                              |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):

 * keywords:   => automatic imports shell
 * resolution:   => wontfix
 * status:  new => closed
 * type:  Uncategorized => New feature

Comment:

 Hello Collin, thank you for taking the time to create this ticket.

 The automatic imports in the shell feature can be disabled via two options
 as [https://docs.djangoproject.com/en/5.2/howto/custom-shell/ documented]:
 1. you can use the `--no-imports` flag, or
 2. you can provide your custom `Shell` command.

 If this ticket is only about suppressing the messaging, but you still want
 the automatic imports to happen, you should set `verbosity` to `0`. The
 current messaging for the default `verbosity` (which is `1`) is quite
 succinct and adequate for that level.

 If you disagree, the recommended path forward is to first propose and
 discuss the idea with the community and gain consensus. To do that, please
 consider starting a new conversation on the
 [https://forum.djangoproject.com/c/internals/5 Django Forum], where you'll
 reach a broader audience and receive additional feedback.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36287#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070195f78a9b15-85d9de2d-d036-4744-af3d-e56ffb78771f-000000%40eu-central-1.amazonses.com.

Reply via email to