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") )