fix: Fix crawl method
This commit is contained in:
parent
7cc2974dbf
commit
f5913f2383
@ -6,7 +6,7 @@ from market.models import Product
|
|||||||
from graph.models import MonthlyTransaction
|
from graph.models import MonthlyTransaction
|
||||||
|
|
||||||
|
|
||||||
def crawl(self, request, queryset):
|
def crawl():
|
||||||
today = timezone.now()
|
today = timezone.now()
|
||||||
month = today.month - 1
|
month = today.month - 1
|
||||||
year = today.year
|
year = today.year
|
||||||
|
Loading…
Reference in New Issue
Block a user