schema.org classes currently have a field parent which is a ForeignKey. This limits the classes to a strict hierarchy. But there are some classes (for example LocalBusiness) which have multiple parent classes. This needs to be reflected in our data.
The parent field needs to be a ManyToManyField, and all code which uses it needs to be modified accordingly.
schema.org classes currently have a field
parent
which is aForeignKey
. This limits the classes to a strict hierarchy. But there are some classes (for example LocalBusiness) which have multiple parent classes. This needs to be reflected in our data.The
parent
field needs to be aManyToManyField
, and all code which uses it needs to be modified accordingly.