Skip to content
Advertisement

Tag: has-many

Has-many relationship in classes

I’m trying to get an idea of has-many relationship in python classes, although theoretically I understood the concept but when I try to implement it, I’m not getting correct output: Code: Is this correct syntax for getting all dictionary values from a object: I’m getting this output: Why am i getting address rather than value? Answer See below The name

Advertisement