Thanks, Rajesh, that most definately helps. I figured that I'd have to
resort to something like option #1 after many google searches.
On 10/17/07, RajeshD <[EMAIL PROTECTED]> wrote:
>
>
> Hi Jason,
>
> > Using the models below I'd like to be able to create Querysets such as:
> >
> > a = Treatme
Hi Jason,
> Using the models below I'd like to be able to create Querysets such as:
>
> a = Treatment.objects.filter(total_dose__range=(4000,1))
> b = a.filter(tumor__patient__gender = 'M')
>
> Both of the above work, but then I'd like to have an additional filter:
> c = b.filter(tumor__patie
Using the models below I'd like to be able to create Querysets such as:
a = Treatment.objects.filter(total_dose__range=(4000,1))
b = a.filter(tumor__patient__gender = 'M')
Both of the above work, but then I'd like to have an additional filter:
c = b.filter(tumor__patient__get_followup_length_
3 matches
Mail list logo