Django exécuter la commande de gestion à partir du code
from django.core.management import call_command
call_command('my_command', 'foo', bar='baz')
Alive Armadillo
from django.core.management import call_command
call_command('my_command', 'foo', bar='baz')
from django.core.management import call_command
call_command('my_command', 'foo', bar='baz')