ads04r / imouto-viewer

Imouto Life Annotation Viewer
GNU General Public License v3.0
0 stars 0 forks source link

schema.org classes can only have one parent #230

Closed ads04r closed 3 months ago

ads04r commented 3 months ago

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.