diff --git a/billard/management/__init__.py b/billard/management/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/billard/management/commands/__init__.py b/billard/management/commands/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/billard/management/commands/process_location_data.py b/billard/management/commands/process_location_data.py new file mode 100644 index 0000000..48567c2 --- /dev/null +++ b/billard/management/commands/process_location_data.py @@ -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 diff --git a/caromserver/settings.py b/caromserver/settings.py index a20a513..df8540d 100644 --- a/caromserver/settings.py +++ b/caromserver/settings.py @@ -163,7 +163,7 @@ EMAIL_PORT = 25 URL_LOCATION_PROCESSOR = 'http://127.0.0.1:8000/billard/process_locationdata' PRODUCT_INFO = 'CAROM' -PRODUCT_VERSION = 'v 1.0.3' +PRODUCT_VERSION = 'v 1.0.4' INTERNAL_IPS = ['127.0.0.1']