Re: ForeignKey value while querying the model object

2019-09-05 Thread Jay Vasant
Please reply with your models schema. On Thu, Sep 5, 2019 at 7:56 AM dev wrote: > Hi All, > > How to get the ForeignKey value while querying the model object. > > > > I was trying to query a model object "mla" to fetch a specific sets of > columns and its wor

ForeignKey value while querying the model object

2019-09-04 Thread dev
Hi All, How to get the ForeignKey value while querying the model object. I was trying to query a model object "mla" to fetch a specific sets of columns and its working fine but the field ForeignKey i.e "instuid" returning a numeric value instant of actual associated