Changes between Version 1 and Version 2 of Ticket #36183, comment 3


Ignore:
Timestamp:
Feb 12, 2025, 8:20:00 PM (10 days ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36183, comment 3

    v1 v2  
    1 Your `AbstractPageType` definition is invalid as it's not allowed to define a `parent_link` on a model that doesn't directly inherit from the referenced model even when abstract.
     1I 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.
    22
    33The 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`
Back to Top