From 7eb7dc48629243147ea0fbe714048a5ec1de39f7 Mon Sep 17 00:00:00 2001 From: Phillip Jensen Date: Mon, 21 Oct 2024 11:30:37 +0200 Subject: [PATCH] Update tasks.py --- stats-backend/api2/tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stats-backend/api2/tasks.py b/stats-backend/api2/tasks.py index 38be7e7..d5d452f 100644 --- a/stats-backend/api2/tasks.py +++ b/stats-backend/api2/tasks.py @@ -16,6 +16,7 @@ from django.db.models import F from django.db.models.functions import Abs from django.core.serializers.json import DjangoJSONEncoder +from django.core.exceptions import ObjectDoesNotExist from decimal import Decimal from .utils import (