diff --git a/.idea/django-boilerplate.iml b/.idea/django-boilerplate.iml index c02adb7..110beda 100644 --- a/.idea/django-boilerplate.iml +++ b/.idea/django-boilerplate.iml @@ -19,7 +19,7 @@ - + diff --git a/.idea/misc.xml b/.idea/misc.xml index bbe3249..56fc225 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/apps/usuario/views.py b/apps/usuario/views.py index d41576d..13e5b92 100644 --- a/apps/usuario/views.py +++ b/apps/usuario/views.py @@ -13,7 +13,7 @@ class TaskTestView(TemplateView): def get_context_data(self, **kwargs): numbers_raw = self.request.GET.get("sum", "1,1") - numbers = map(int, numbers_raw.split(",")) + numbers = map(float, numbers_raw.split(",")) async_task = test_task.apply_async( countdown=5, args=list(numbers) )