diff --git a/junior/views.py b/junior/views.py index 00dcaa4..7245c6b 100644 --- a/junior/views.py +++ b/junior/views.py @@ -316,6 +316,7 @@ class JuniorPointsListAPIView(viewsets.ModelViewSet): return JuniorTask.objects.filter(junior__auth__email=self.request.user).last() def list(self, request, *args, **kwargs): """profile view""" + try: queryset = self.get_queryset() # update position of junior