Re: Filtering related field attributes is not working

2008-09-08 Thread Wojtek Walczak
Steve Holden wrote: > Robocop wrote: >> Thank you for the suggestion, but first (with the right answer) come >> first serve. >> > So no fine romantic dinner for you, Wojtek. As for now, no, but I am looking forward for more questions from Robocop. I will try to answer before others do. Don't try

Re: Filtering related field attributes is not working

2008-09-07 Thread Steve Holden
Robocop wrote: > Thank you for the suggestion, but first (with the right answer) come > first serve. > So no fine romantic dinner for you, Wojtek. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ --~--~-~--~-

Re: Filtering related field attributes is not working

2008-09-05 Thread Robocop
Thank you for the suggestion, but first (with the right answer) come first serve. On Sep 5, 2:02 pm, Wojtek Walczak <[EMAIL PROTECTED]> wrote: > Robocop wrote: > > And all i'm trying to do is sort "Service_details" by Encounter.day, > > and the line i'm trying to do it with is: > > > Service_deta

Re: Filtering related field attributes is not working

2008-09-05 Thread Robocop
BINGO! I wabt to take you out to a fine romantic dinner, thanks. On Sep 5, 12:02 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Fri, Sep 5, 2008 at 2:50 PM, Robocop <[EMAIL PROTECTED]> wrote: > > > Hello, > > I'm not entirely sure what the problem is, but as it stands, i'm > > fairly confide

Re: Filtering related field attributes is not working

2008-09-05 Thread Wojtek Walczak
Robocop wrote: > And all i'm trying to do is sort "Service_details" by Encounter.day, > and the line i'm trying to do it with is: > > Service_details.objects.filter(encounter__day=date) > > where date is of the form '-MM-DD,' but i always receive the > error "TypeError: Related Field has i

Re: Filtering related field attributes is not working

2008-09-05 Thread Karen Tracey
On Fri, Sep 5, 2008 at 2:50 PM, Robocop <[EMAIL PROTECTED]> wrote: > > Hello, > I'm not entirely sure what the problem is, but as it stands, i'm > fairly confident this stupid little line of code i have should work. > The relevant models are: > > class Encounter(models.Model): > service = models.