From 65aad125f7d2f4685beda07f8bb292644223c142 Mon Sep 17 00:00:00 2001 From: AlexP077 Date: Wed, 13 Sep 2023 18:09:13 +0500 Subject: [PATCH] ml_to_celery --- service/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/views.py b/service/views.py index c851d30..4fcf01d 100644 --- a/service/views.py +++ b/service/views.py @@ -363,7 +363,7 @@ class PrePlacementPointViewSet(PlacementPointViewSet): file_id = request.POST['id'] total, matched, problem = PointService().start_mathing(file_id) PointService.make_enrichment() - raschet('service_preplacementpoint') + raschet.delay('service_preplacementpoint') return Response( {'message': {'total': total, 'matched': matched, 'error': problem, 'unmatched': total - matched - problem}}, status=HTTPStatus.OK,