Re: Django ORM query with joins

2020-03-30 Thread Anoop Thiparala
id', 'details', 'user__name' ) >> >> On Mon, 30 Mar 2020, 5:26 pm Anoop Thiparala, > > wrote: >> >>> I need help with a django query...I have two models >>> >>> 1)* POSTS* >>> ==>id >>> ==>details >>> ==>user(fore

Django ORM query with joins

2020-03-30 Thread Anoop Thiparala
I need help with a django query...I have two models 1)* POSTS* ==>id ==>details ==>user(foreign key to user table) 2) *USER* ==>id ==>email ==>name *SQL VERSION:* SELECT POSTS.ID, POSTS.DETAILS, USER.NAME FROM POSTS, USER WHERE POSTS.USER == USER.ID; I require these details in the same

Re: Is there any possibility integrate django and tkinter?

2020-03-30 Thread Anoop Thiparala
One possible way would be to make an API using django rest framework and use API calls from your tkinter application On Sunday, March 29, 2020 at 11:00:07 PM UTC+5:30, Walter santos wrote: > > Hi > > Is there any possibility integrate django and tkinter? > -- You received this message because