mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
Wrapped lines at 79 cols in docs/howto/custom-shell.txt.
This commit is contained in:
parent
0dc61495b2
commit
ca0794fa32
@ -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