add billard command to process location object data via cron job
This commit is contained in:
parent
11d7300d75
commit
0f578c0611
0
billard/management/__init__.py
Normal file
0
billard/management/__init__.py
Normal file
0
billard/management/commands/__init__.py
Normal file
0
billard/management/commands/__init__.py
Normal file
9
billard/management/commands/process_location_data.py
Normal file
9
billard/management/commands/process_location_data.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
from django.core.management.base import BaseCommand, CommandError
|
||||||
|
from billard.tasks import process_location_data
|
||||||
|
|
||||||
|
|
||||||
|
class Command(BaseCommand):
|
||||||
|
help = 'Process location data objects'
|
||||||
|
|
||||||
|
def handle(self, *args, **options):
|
||||||
|
process_location_data
|
Loading…
Reference in New Issue
Block a user