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

Deals with the deprecation of request.site in wagtail 2.9 #488

Merged
merged 1 commit into from
Aug 13, 2023

Conversation

nickmoreton
Copy link
Collaborator

@nickmoreton nickmoreton commented Aug 8, 2023

While working with the longclaw_demo I discovered a site middleware change that happens at v2.9 https://docs.wagtail.org/en/stable/releases/2.9.html#sitemiddleware-and-request-site-deprecated needs to be updated.

The current version support for the master branch is: wagtail>=2.11,<2.14, hence the changes here.

This updates package code and tests where request.site was used previously.

@nickmoreton nickmoreton marked this pull request as ready for review August 8, 2023 21:50
@JamesRamm
Copy link
Collaborator

Looks good to me. I don't know if you are able to merge?

@nickmoreton
Copy link
Collaborator Author

Looks good to me. I don't know if you are able to merge?

The merge button is disabled for me but probably because the travis-ci stage is waiting for status update. Do you know why that is?

I’m not familiar with that service but it looks like it could do with some attention with the python versions and django versions but in the end looks like it’s used to publish the website

@JamesRamm JamesRamm merged commit cfd2df1 into longclawshop:master Aug 13, 2023
3 checks passed
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.

None yet

2 participants