membershipworks: Move scrape task to 'tasks' submodule
This commit is contained in:
parent
68c9b3f82d
commit
dc648d6770
@ -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()
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user