code: def get_object(self, queryset=None):
          
          if queryset is None:
              queryset = self.get_queryset()
  
          try:
              return queryset.get(user__pk=self.request.user.pk)
          except ObjectDoesNotExist:
              raise Http404
docs: Returns the object the view is displaying.