diff --git a/coldfront/core/allocation/utils.py b/coldfront/core/allocation/utils.py index 16c2d5aad..bbfc73a53 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")