Skip to content

Multiple Inheritance from PolymorphicModel #415

@MiltosD

Description

@MiltosD

class A(PolymorphicModel)

class B(PolymorphicModel)

class C(B)

class D(A, C)

When trying to make migrations for class D, I get the following
The field 'polymorphic_ctype' from parent model 'A' clashes with the field 'polymorphic_ctype' from parent model 'B'.

Is there any way to differentiate between those two?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions