code: def pks(self):
          
          if self._primary_keys is None:
              self._primary_keys = list(
                  self.queryset.values_list('pk', flat=True))
          return self._primary_keys
docs: Lazy-load the primary keys.