import subprocess

from django.core.management import call_command
from django.core.management.base import BaseCommand


class Command(BaseCommand):

    def handle(self, *args, **options):

        call_command('collectstatic', '--noinput')
        subprocess.call(['touch', 'rdmo/wsgi.py'])

add deploy management script