reenable request processor

This commit is contained in:
2017-02-11 18:59:42 +01:00
parent 0b1c7675f0
commit e84b2f54a9
5 changed files with 16 additions and 5 deletions

View File

@@ -1,8 +1,9 @@
from __future__ import absolute_import, unicode_literals
from celery import shared_task
from billard import utils
from django.conf import settings
import requests
@shared_task
def process_location_data():
utils.process_location_data()
def request_process_location_data():
requests.get(url=settings.URL_LOCATION_PROCESSOR)