From c0df1b3eb44b1a27c7127d809dc109a3d757ea1a Mon Sep 17 00:00:00 2001 From: Sajid Ali Date: Mon, 5 Jan 2026 15:09:49 -0500 Subject: [PATCH] fix import --- coldfront/core/allocation/utils.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/coldfront/core/allocation/utils.py b/coldfront/core/allocation/utils.py index 16c2d5aadb..bbfc73a532 100644 --- a/coldfront/core/allocation/utils.py +++ b/coldfront/core/allocation/utils.py @@ -1,9 +1,14 @@ +import logging + from django.db.models import Q from coldfront.core.allocation.models import AllocationUser, AllocationUserStatusChoice from coldfront.core.resource.models import Resource +logger = logging.getLogger(__name__) + + def set_allocation_user_status_to_error(allocation_user_pk): allocation_user_obj = AllocationUser.objects.get(pk=allocation_user_pk) error_status = AllocationUserStatusChoice.objects.get(name="Error")