mirror of
https://github.com/django/django.git
synced 2025-03-06 15:32:33 +00:00
[5.2.x] Wrapped lines at 79 cols in docs/howto/custom-shell.txt.
Backport of ca0794fa32b64ee42e9dce6df967777cb6347483 from main.
This commit is contained in:
parent
efef715525
commit
12517e667b
@ -7,9 +7,9 @@ access to models and settings, making it useful for testing code, experimenting
|
|||||||
with queries, and interacting with application data.
|
with queries, and interacting with application data.
|
||||||
|
|
||||||
Customizing the :djadmin:`shell` command allows adding extra functionality or
|
Customizing the :djadmin:`shell` command allows adding extra functionality or
|
||||||
pre-loading specific modules. To do this, create a new management command that subclasses
|
pre-loading specific modules. To do this, create a new management command that
|
||||||
``django.core.management.commands.shell.Command`` and overrides the existing
|
subclasses ``django.core.management.commands.shell.Command`` and overrides the
|
||||||
``shell`` management command. For more details, refer to the guide on
|
existing ``shell`` management command. For more details, refer to the guide on
|
||||||
:ref:`overriding commands <overriding-commands>`.
|
:ref:`overriding commands <overriding-commands>`.
|
||||||
|
|
||||||
.. _customizing-shell-auto-imports:
|
.. _customizing-shell-auto-imports:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user