Changes between Version 1 and Version 2 of Ticket #36183, comment 3
- Timestamp:
- Feb 12, 2025, 8:20:00 PM (10 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36183, comment 3
v1 v2 1 Your `AbstractPageType` definition is invalid as it'snot allowed to define a `parent_link` on a model that doesn't directly inherit from the referenced model even when abstract.1 I believe your `AbstractPageType` definition is invalid as it should not allowed to define a `parent_link` on a model that doesn't directly inherit from the referenced model even when abstract. 2 2 3 3 The correct way to do this is to have the abstract model defining the parent link subclass the concrete model (abstract MTI). This means you should be able to achieve what you're after by re-organizing your model definition to make sure `AbstractPageType` does inherit from `Page`