from django.core.management.base import BaseCommand from article_import_utils.services import ArticleDownloadService class Command(BaseCommand): def handle(self, *args, **options): ads = ArticleDownloadService() ads.perform_update() self.stdout.write("\nUpdate of articles finished!")