mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #26315 -- Allowed call_command() to accept a Command object as the first argument.
This commit is contained in:
@@ -278,6 +278,9 @@ Management Commands
|
||||
:djadmin:`runserver` does, if the set of migrations on disk don't match the
|
||||
migrations in the database.
|
||||
|
||||
* To assist with testing, :func:`~django.core.management.call_command` now
|
||||
accepts a command object as the first argument.
|
||||
|
||||
Migrations
|
||||
~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user