in my case the error messages were misleading. you can define relationship fields in models that have table=True
. I had another field(Column) which I defined as a List[str]
. even though the error messages signal the relationship attributes the error is on defining a column as a List[str]