You don't actually need to copy/paste all of this logic here. You really just need to do...

`return itertools.chain(super(CuratedQuerySet, self._curated_qs).__iter__(), super(CuratedQuerySet, self)).__iter__() if self._is_curated else return super(CuratedQuerySet, self).__iter__()`