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

Documentation regarding optional Orderable Inheritance for Inline models #11887

Open
bmihelac opened this issue Apr 23, 2024 · 0 comments
Open

Comments

@bmihelac
Copy link
Contributor

The documentation states that inline models need to inherit from Orderable.

I have tested an inline model that does not inherit from Orderable and it works as expected—there are no buttons to reorder, but everything functions properly.

Pertinent section of the Wagtail docs

https://docs.wagtail.org/en/stable/topics/pages.html#inline-models
https://github.com/wagtail/wagtail/blob/main/docs/topics/pages.md#inline-models

Details

The documentation states:

Each inline model requires the following:
It must inherit from {class}wagtail.models.Orderable

Working on this

If this is not really needed, I can make a pull request to state that inheriting from Orderable is optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant