From 17c60fc7283f55e844d1d8147b479b4465b0fc17 Mon Sep 17 00:00:00 2001 From: Clemens Wolff Date: Sun, 11 Aug 2019 13:47:13 -0400 Subject: [PATCH] Remove spurious change --- app/api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/views.py b/app/api/views.py index 3392f2c0..e2cce489 100644 --- a/app/api/views.py +++ b/app/api/views.py @@ -81,7 +81,7 @@ class StatisticsAPI(APIView): annotation_class = project.get_annotation_class() total = docs.count() done = annotation_class.objects.filter(document_id__in=docs.all(), - user_id=self.request.user).\ + user_id=self.request.user).\ aggregate(Count('document', distinct=True))['document__count'] remaining = total - done return {'total': total, 'remaining': remaining}