Re: [Django] #36159: Remove the example of the empty import shell customization (was: Update the shell customization tutorial to reflect the --no-imports flag.)

3 views
Skip to first unread message

Django

unread,
Jan 30, 2025, 4:32:00 AM1/30/25
to django-...@googlegroups.com
#36159: Remove the example of the empty import shell customization
-------------------------------------+-------------------------------------
Reporter: Salvo Polizzi | Owner: Salvo
Type: | Polizzi
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* stage: Unreviewed => Accepted
* summary:
Update the shell customization tutorial to reflect the --no-imports
flag.
=> Remove the example of the empty import shell customization
* version: dev => 5.2

Comment:

I think you mean [https://docs.djangoproject.com/en/dev/howto/custom-shell
/#customizing-shell-auto-imports this section] and I think it makes sense
to remove the part "If you prefer to not have models automatically..." and
example entirely as the `--no-imports` flag is already documented 👍
--
Ticket URL: <https://code.djangoproject.com/ticket/36159#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages