Changes between Version 5 and Version 6 of Ticket #32850


Ignore:
Timestamp:
Jun 15, 2021, 9:12:18 AM (3 years ago)
Author:
Thomas Güttler
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32850 – Description

    v5 v6  
    88        latest_lastmod = None
    99        all_items_lastmod = True  # track if all items have a lastmod
    10         for item in self.paginator.page(page).object_list:
    11             loc = "%s://%s%s" % (protocol, domain, self.__get('location', item))
     10        paginator_page = self.paginator.page(page)
     11        for item in paginator_page.object_list:
     12            loc = f'{protocol}://{domain}{self._location(item)}'
    1213            ....
    1314}}}
Back to Top