I am trying to select from the join of the two related tables in DJango as shown below. But I am not able get the field name of the other table.
name
In SQL
phonenumber is a field on person, so you need to pass in person__phonenumber
phonenumber
person
person__phonenumber
m=Membership.objects.filter(person__name='x').values('person','person__phonenumber').