cmsmanage/membershipworks/management/commands/scrape_events.py

9 lines
202 B
Python

from django.core.management.base import BaseCommand
from membershipworks.tasks.scrape import scrape_events
class Command(BaseCommand):
def handle(self, *args, **options):
scrape_events()