start_import.py 233 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 from django.core.management.base import BaseCommand from common.models import ImportInProgress class Command(BaseCommand): args = 'none' help = '' def handle(self, **options): ImportInProgress.objects.create()