carom-server/billard/tasks.py

10 lines
243 B
Python
Raw Normal View History

2017-02-06 18:50:10 +01:00
from __future__ import absolute_import, unicode_literals
from celery import shared_task
2017-02-11 18:59:42 +01:00
from django.conf import settings
import requests
2017-02-06 18:50:10 +01:00
@shared_task
2017-02-11 18:59:42 +01:00
def request_process_location_data():
requests.get(url=settings.URL_LOCATION_PROCESSOR)