I have a custom admin command that emails out reports. It normally runs from a cron job. What I would like to do is add a button to my web app that when clicked will cause t
You can use call_command:
call_command
from django.core.management import call_command call_command('myadmincmd')