From ce298198061fd3f466e70b34a263c3db88ed6b4a Mon Sep 17 00:00:00 2001 From: tyrin Date: Fri, 26 Sep 2025 19:00:59 +0300 Subject: [PATCH] fixed the missing `exposure` annotation in UpperLimitView --- views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views.py b/views.py index f11d1a7..24392d0 100644 --- a/views.py +++ b/views.py @@ -457,7 +457,7 @@ class UpperLimitView(APIView): map_pixels_qs = ( Pixel.objects.filter(hpid__in=map_pixel_list, survey__in=survey_numbers) .values("hpid") - .annotate(counts=Sum("counts")) + .annotate(counts=Sum("counts"), exposure=Sum("exposure")) .order_by("hpid") )