mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #25680 -- Added django-admin shell --command option.
Add a -c option to the shell command to execute a command passed as a string as Django.
This commit is contained in:
committed by
Tim Graham
parent
0cc32a8f97
commit
7f7553dd30
@@ -224,6 +224,9 @@ Management Commands
|
||||
* The :djadmin:`shell` ``--interface`` option now accepts ``python`` to force
|
||||
use of the "plain" Python interpreter.
|
||||
|
||||
* The new :djadminopt:`shell --command <--command>` option lets you run a
|
||||
command as Django and exit, instead of opening the interactive shell.
|
||||
|
||||
Migrations
|
||||
^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user