update celery call
This commit is contained in:
@@ -4,5 +4,9 @@ from . import models
|
||||
|
||||
|
||||
@shared_task
|
||||
def add(x, y):
|
||||
return x + y
|
||||
def process_location_data():
|
||||
data = models.LocationData.objects.filter(processed=False)
|
||||
print(len(data))
|
||||
for ld in data:
|
||||
print(ld)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user