membershipworks: Move scrape task to 'tasks' submodule

This commit is contained in:
Adam Goldsmith 2023-12-19 13:25:02 -05:00
parent 68c9b3f82d
commit dc648d6770
2 changed files with 2 additions and 4 deletions

View File

@ -1,8 +1,8 @@
from django.core.management.base import BaseCommand
from membershipworks import tasks
from membershipworks.tasks.scrape import scrape_membershipworks
class Command(BaseCommand):
def handle(self, *args, **options):
tasks.scrape_membershipworks()
scrape_membershipworks()

View File

@ -4,8 +4,6 @@ import logging
from django.conf import settings
from django.db import transaction
from django_q.models import Schedule
from membershipworks.models import Member, Flag, Transaction
from membershipworks import MembershipWorks