Changes between Version 1 and Version 2 of Ticket #32153, comment 5


Ignore:
Timestamp:
Oct 30, 2020, 5:38:52 AM (4 years ago)
Author:
Mariusz Felisiak

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32153, comment 5

    v1 v2  
    11Thanks for this report. Yes we should change `parse_args` to the list of arguments and their values without using the ` = ` syntax, e.g. pass `['--foo', '1', '2']` instead of `['--foo=1 2']`. All of these calls should be supported:
    22{{{
    3 management.call_command('command', '--foo 1 2')
    43management.call_command('command', foo=[1, 2])
     4management.call_command('command', '--foo', [1, 2])
    55}}}
Back to Top