code: def paginate_sources(owner=None, page=1, page_size=DEFAULT_PAGE_SIZE):
      '''Paginate harvest sources'''
      sources = _sources_queryset(owner=owner)
      page = max(page or 1, 1)
      return sources.paginate(page, page_sizef paginate_sources(owner=None, page=1, page_size=DEFAULT_PAGE_SIZE):
      '''Paginate harvest sources'''
      sources = _sources_queryset(owner=owner)
      page = max(page or 1, 1)
      return sources.paginate(page, page_size)
docs: Paginate harvest sources