3
from django.core.management.base import NoArgsCommand
8
from django.conf import settings
10
class Command(NoArgsCommand):
11
help = "Update everything."
13
def handle_noargs(self, **options):
15
os.chdir(settings.PROJECT_PATH)
16
subprocess.call(["./manage.py", "process-proposals"])
17
subprocess.call(["./manage.py", "lpupdate"])