code: def get_paginator(
          self,
          dataset,
          per_page,
          orphans=0,
          allow_empty_first_page=True,
          **kwargs
      ):
          
          return IndefinitePaginator(
              dataset,
              per_page,
              orphans=orphans,
              allow_empty_first_page=allow_empty_first_page,
              **kwargs
          )
docs: Return an instance of the paginator for this view.