from django.core.management import BaseCommand from boards.models.source import SyncSource __author__ = 'neko259' class Command(BaseCommand): help = 'Send a sync or get request to the servers.' def handle(self, *args, **options): for source in SyncSource.objects.all(): source.run_sync()