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 working fine but the field ForeignKey i

Re: How can i share one Database Sqlite between 2 app on pythonanywhere

2019-09-04 Thread Jay Vasant
It isn't possible to share a local db between two apps. Here are the alternatives you can use: - Create api's for all the operations you want to perform. - Use an hosted db service(e.g. Postgres on heroku). On Wed, Sep 4, 2019 at 10:39 AM Balaji Shetty wrote: > Hi Everyone > > Can anybo