Re: choosing queryset

2010-10-26 Thread vamsy krishna
That's it! Thanks for pointing me in the right direction. Also my apologies for posting on the other forum. I did not know i wasn't supposed to do that. And thanks DR for your response. I've sorted it out now. On Oct 26, 5:42 pm, Jirka Vejrazka wrote: > > I've two modules called plan and income

Re: choosing queryset

2010-10-26 Thread Daniel Roseman
On Oct 26, 1:29 pm, vamsy krishna wrote: > I've two modules called plan and income and both have a class called > Income in their respective models. Now if I do user.income_set, it is > accessing the income set under plan. How do I alter it to access > income.income? Any ideas? > > Thanks in advan

Re: choosing queryset

2010-10-26 Thread Jirka Vejrazka
> I've two modules called plan and income and both have a class called > Income in their respective models. Now if I do user.income_set, it is > accessing the income set under plan. How do I alter it to access > income.income? Any ideas? Hi, have you had a chance to check out related_name in th

choosing queryset

2010-10-26 Thread vamsy krishna
I've two modules called plan and income and both have a class called Income in their respective models. Now if I do user.income_set, it is accessing the income set under plan. How do I alter it to access income.income? Any ideas? Thanks in advance -- You received this message because you are sub