From f5913f238335ba89b7b3e98edd15d34efd98fa12 Mon Sep 17 00:00:00 2001 From: jhynsoo Date: Tue, 14 Nov 2023 02:13:05 +0900 Subject: [PATCH] fix: Fix crawl method --- crawl/methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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