carom-server/billard/tasks.py

10 lines
243 B
Python

from __future__ import absolute_import, unicode_literals
from celery import shared_task
from django.conf import settings
import requests
@shared_task
def request_process_location_data():
requests.get(url=settings.URL_LOCATION_PROCESSOR)