BaseCommand.execute(*args, **options) [source]
Tries to execute this command, performing system checks if needed (as controlled by the requires_system_checks attribute). If the command raises a CommandError, it’s intercepted and printed to stderr.
Calling a management command in your code
execute() should not be called directly from your code to execute a command. Use call_command() instead.
Please login to continue.