mirror of
https://github.com/django/django.git
synced 2025-11-26 21:51:57 +00:00
Refs #35515 -- Added missing docs for --no-imports flag for the shell command.
This commit is contained in:
parent
ca0794fa32
commit
3839afb63a
1 changed files with 6 additions and 0 deletions
|
|
@ -1111,6 +1111,12 @@ Disables reading the startup script for the "plain" Python interpreter. By
|
||||||
default, the script pointed to by the :envvar:`PYTHONSTARTUP` environment
|
default, the script pointed to by the :envvar:`PYTHONSTARTUP` environment
|
||||||
variable or the ``~/.pythonrc.py`` script is read.
|
variable or the ``~/.pythonrc.py`` script is read.
|
||||||
|
|
||||||
|
.. django-admin-option:: --no-imports
|
||||||
|
|
||||||
|
.. versionadded:: 5.2
|
||||||
|
|
||||||
|
Disables the automatic import of models from :setting:`INSTALLED_APPS`.
|
||||||
|
|
||||||
.. django-admin-option:: --command COMMAND, -c COMMAND
|
.. django-admin-option:: --command COMMAND, -c COMMAND
|
||||||
|
|
||||||
Lets you pass a command as a string to execute it as Django, like so:
|
Lets you pass a command as a string to execute it as Django, like so:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue