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

Make API representation of Page.alias_of more consistent #7855

Merged
merged 1 commit into from Jan 14, 2022

Conversation

kaedroho
Copy link
Contributor

Fixes #7852

This commit changes the API representation of Page.alias_of to match Page.parent to improve consistency.

As the current implementation of Page.alias_of isn't released yet, we can update this without concern for backwards compatibility.

@squash-labs
Copy link

squash-labs bot commented Jan 13, 2022

Manage this branch in Squash

Test this branch here: https://kaedrohoapi-alias-of-field-dw4sv.squash.io

@gasman gasman added this to the 2.16 milestone Jan 13, 2022
This commit changes the API representation of Page.alias_of to match
Page.parent to improve consistency.

As the current implementation of Page.alias_of isn't released yet, we
can update this without concern for backwards compatibility.
@gasman gasman merged commit 5e9525c into wagtail:main Jan 14, 2022
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.

Use html_url in alias_of API serialisation
2 participants