forked from alphagov/digital-buying-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
- Change back to
PYTHONWARNINGS: errorand./manage.py makemigrations --check --dry-runin ci.yml
- https://docs.wagtail.org/en/stable/releases/2.15.html#upgrade-considerations
- remove wagtail.contrib.postgres_search, WAGTAILSEARCH_BACKENDS
-
manage.py update_index
- https://docs.wagtail.org/en/stable/releases/3.0.html#upgrade-considerations-changes-affecting-all-projects
- (These are deprecated and then removed in 5.0)
wagtail updatemodulepaths --diffwagtail updatemodulepathsshould update:wagtail\.core\b->wagtailwagtail\.tests\b->wagtail.testwagtail\.admin\.edit_handlers\b->wagtail.admin.panels
- BASE_URL -> WAGTAILADMIN_BASE_URL
StreamFieldPanel|ImageChooserPanel|SnipperChooserPanel|PageChooserPanel->FieldPanel- StreamField: Add
use_json_field=Trueandmanage.py makemigrations
- https://docs.wagtail.org/en/stable/releases/4.0.html#upgrade-considerations (Django 4.1 added)
-
Add after viewport in base.html
{# Force all links in the live preview panel to be opened in a new tab #} {% if request.in_preview_panel %} <base target="_blank"> {% endif %}
-
- https://docs.wagtail.org/en/stable/releases/4.1.html#upgrade-considerations
manage.py rebuild_references_index(can skip as will be run for 5.0 anyway)- WagtailPageTests -> WagtailPageTestCase (optional)
manage.py publish_scheduled_pages->manage.py publish_scheduled(aliased) https://docs.wagtail.org/en/v4.1/reference/management_commands.html
- https://docs.wagtail.org/en/stable/releases/5.0.html#upgrade-considerations (Django 4.2 added)
manage.py rebuild_references_indexmanage.py copy_daily_hits_from_wagtailsearchicon = "tick"->icon = "check"
- https://docs.wagtail.org/en/stable/releases/5.1.html#upgrade-considerations-changes-affecting-all-projects (Python 3.8+)
manage.py migrate- Add
wagtail-modeladmindependency, and wagtail.contrib.modeladmin -> wagtail_modeladmin, OR remove wagtail.contrib.modeladmin from INSTALLED_APPS and convert to wagtail snippets (since that package is in maintenance mode) https://wagtail-modeladmin.readthedocs.io/en/latest/migrating.html (deprecated and then removed in 6.0)
- https://docs.wagtail.org/en/stable/releases/6.0.html#upgrade-considerations-removal-of-deprecated-features-from-wagtail-4-2-5-1 (Django 4.2+ only, Django 5.0 added)
- can remove
use_json_field=True
- can remove
No action needed
- https://docs.wagtail.org/en/stable/releases/2.12.html#upgrade-considerations
- https://docs.wagtail.org/en/stable/releases/2.13.html#upgrade-considerations (Django 3.2 added)
- https://docs.wagtail.org/en/stable/releases/2.14.html#upgrade-considerations
- https://docs.wagtail.org/en/stable/releases/2.16.html#upgrade-considerations (Django 4.0 added)
- https://docs.wagtail.org/en/stable/releases/4.2.html#upgrade-considerations
- https://docs.wagtail.org/en/stable/releases/5.2.html#upgrade-considerations-changes-affecting-all-projects
- https://docs.wagtail.org/en/stable/releases/6.1.html#upgrade-considerations-changes-affecting-wagtail-customizations
- https://docs.wagtail.org/en/stable/releases/6.2.html#upgrade-considerations-changes-affecting-all-projects
- https://docs.wagtail.org/en/stable/releases/6.3.html#upgrade-considerations-deprecation-of-old-functionality (Django 5.1 added, Python 3.9+)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels