Changes between Initial Version and Version 2 of Ticket #36732


Ignore:
Timestamp:
Nov 14, 2025, 7:55:37 AM (3 weeks ago)
Author:
Julien Palard
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36732 – Description

    initial v2  
    55when enabling i18n on a sitemap, _items uses the following code:
    66
    7 ```python
     7{{{
    88            # Create (item, lang_code) tuples for all items and languages.
    99            # This is necessary to paginate with all languages already considered.
     
    1313                for lang_code in self.get_languages_for_item(item)
    1414            ]
    15 ```
     15}}}
    1616
    1717The list comprehension loads the whole table times the number of languages in memory.
Back to Top