2π
β
OK, I managed to solve this mess.
The problem here is that the model and the field have the same name (case-agnostic). I had this both in my problematic model, as well as the examples here (A.a
and B.b
).
This is a Django problem in that the error is simply irrelevant to the real issue.
Bottom line β donβt have any field the same name as the model name.
π€Yuval Adam
Source:stackexchange.com