Skip to content

Update to Django 5.2 LTS and Wagtail 7 LTS#4666

Merged
wes-otf merged 22 commits into
mainfrom
maintenance/django-5-wagtail-7
Jan 26, 2026
Merged

Update to Django 5.2 LTS and Wagtail 7 LTS#4666
wes-otf merged 22 commits into
mainfrom
maintenance/django-5-wagtail-7

Conversation

@frjo

@frjo frjo commented Jan 10, 2026

Copy link
Copy Markdown
Member

Fixes #4250

These are big updated so everything needs to be tested.

Things to test:

  • The complete login procedure.
    • With enforce 2FA
    • For staff via Google
    • Without password
    • With password
    • Forgot password
    • Change password
  • Add and remove 2FA
  • The complete submission process for new and for old users.
  • The complete review process for reviewers and for staff.
  • Alla kind of file uploads and downloads. Do they work and do they have the correct permissions.
  • Permissions for all important views.
  • Notifications via slack, e-mail etc.

@frjo frjo added Type: Maintenance Type: Major Major change, used in release drafter labels Jan 10, 2026
@frjo frjo force-pushed the maintenance/django-5-wagtail-7 branch from 24133a9 to 625e107 Compare January 10, 2026 12:32
# if child_data["type"] not in self.child_blocks:
# child_data["type"] = "char"

# return StreamValue(self, value, is_lazy=True)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs investigation.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@frjo so what you're saying is there was an change to StreamChild that broke this?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my testing I have yet to hit any snags while submitting & rendering stream fields

@frjo frjo Jan 16, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, need to compare the overridden funktion in Wagtail 5 vs 6/7.

@frjo frjo changed the title Update to Django 5.2 LTS and Wagtail 7 LTS (via Wagtail 6 LTS) Update to Django 5.2 LTS and Wagtail 7 LTS Jan 11, 2026
@frjo frjo requested a review from wes-otf January 11, 2026 14:55
@wes-otf wes-otf added the Status: Needs dev testing 🧑‍💻 Tasks that should be tested by the dev team label Jan 13, 2026
@wes-otf

wes-otf commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

so far everything has been working great & as expected!

@frjo frjo force-pushed the maintenance/django-5-wagtail-7 branch from 65d951a to 01bcfa2 Compare January 20, 2026 09:50
@wes-otf

wes-otf commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

I found admin broke on the test instance until I deleted https://github.com/HyphaApp/hypha/blob/main/hypha/core/wagtail_hooks.py

it didn't locally for some reason though

@frjo

frjo commented Jan 22, 2026

Copy link
Copy Markdown
Member Author

Removed that file now. I removed all the wagtail css override files but missed this hook. It worked locally since the file was already in static.

@wes-otf wes-otf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

worked well for me so far! did a lot of testing on the test instance last week too as I was giving team demos, I think it's ready to go!

# if child_data["type"] not in self.child_blocks:
# child_data["type"] = "char"

# return StreamValue(self, value, is_lazy=True)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my testing I have yet to hit any snags while submitting & rendering stream fields

@wes-otf wes-otf added Status: Tested - approved for live ✅ and removed Status: Needs dev testing 🧑‍💻 Tasks that should be tested by the dev team labels Jan 26, 2026
@wes-otf wes-otf merged commit 474d39d into main Jan 26, 2026
7 checks passed
@frjo frjo deleted the maintenance/django-5-wagtail-7 branch February 18, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Django 5.2 LTS

2 participants