diff --git a/crawl/methods.py b/crawl/methods.py index df96168..9a4019c 100644 --- a/crawl/methods.py +++ b/crawl/methods.py @@ -6,7 +6,7 @@ from market.models import Product from graph.models import MonthlyTransaction -def crawl(self, request, queryset): +def crawl(): today = timezone.now() month = today.month - 1 year = today.year