Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for wagtail 2.15 and django 4 compatibility #15

Merged
merged 7 commits into from
May 17, 2022

Conversation

danhayden
Copy link
Contributor

Changes in wagtail 2.15 modeladmin templates caused birdsong templates to break visually and prevented the preview iframe from working due to the form selector in preview_campaign.js matching the wrong form on the page.

Fixes #14

@danhayden
Copy link
Contributor Author

Have also added the migration files which I had previously missed. Should also fix #18

@danhayden danhayden changed the title Updates for wagtail 2.15 compatibility Updates for wagtail 2.15 and django 4 compatibility May 3, 2022
- changed django.conf.urls.url to django.urls.re_path
@seb-b
Copy link
Member

seb-b commented May 17, 2022

I've noticed a visual problem when checking out the branch
image

Ideally these shouldn't be stacked, they should be side-by-side with a bit of spacing between

@danhayden
Copy link
Contributor Author

I've pushed a fix and tested on wagtail 2.15.5 and wagtail 3.0

on wagtail 2.15.5:

edit-view-wagtail-2 15 5

on wagtail 3.0:

edit-view-wagtail-3 0

@danhayden
Copy link
Contributor Author

This PR should now be complete

Fixes #14
Fixes #17
Fixes #18
Closes #19

@seb-b
Copy link
Member

seb-b commented May 17, 2022

Awesome work @danhayden, thanks heaps. Noticed one small django 4 problem but I'll fix it up in an upcoming branch. I'll release this in version 1.0.0 sometime today

@seb-b seb-b merged commit 8c969b5 into neon-jungle:master May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reload Preview not working
2 participants