You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based upon programming task #1 – Given a list of locales (["en", "is", "en_GB"]), and a list of versions (["latest", "4.1.x", "4.2.x"]), generate a CSV file ready to import with Wagtail’s bulk redirects importer.
locales= ["en", "is", "en_GB"]
versions= ["latest", "4.1.x", "4.2.x"]
defgenerate_combinations():
return ["en-latest", "en-4.1.x", "is-latest", "is-4.1.x"]
defcreate_csv():
# Generate combinations, then create CSV file based on them.pass
Based upon programming task #1 – Given a list of locales (
["en", "is", "en_GB"]
), and a list of versions (["latest", "4.1.x", "4.2.x"]
), generate a CSV file ready to import with Wagtail’s bulk redirects importer.CSV file sample:
This helps practice:
The text was updated successfully, but these errors were encountered: