Re: problem with dates when using django and postgres

2005-09-20 Thread scottpierce
Sorry, I tried to delete this message as it was one of those 4AM falling asleep face plowed into the keyboard kind of post. I figured out what was up at about the time the sun came up. It was of course me. Scott

Re: problem with dates when using django and postgres

2005-09-20 Thread Adrian Holovaty
On 9/20/05, scottpierce <[EMAIL PROTECTED]> wrote: > sql_queries shows a query like this: > SELECT assignments_assignments.id,assignments_assignments.teacher_id,assignments_assignments.student_id,assignments_assignments.subject_id,assignments_assignments.assignment_title,assignments_assignments.as

Re: problem with dates when using django and postgres

2005-09-20 Thread scottpierce
Uhh, I meant wrong above. been a late night. turns out it doesn't matter whether it is LazyDate or not.

Re: problem with dates when using django and postgres

2005-09-20 Thread scottpierce
To narrow the issue a bit, I am attempting this in extra_lookup_kwargs: 'extra_lookup_kwargs': {'complete__exact':False, 'grade__isnull':True, 'due_date__lt': meta.LazyDate()} So perhaps I am not doing something right with meta.LazyData()? Scott

problem with dates when using django and postgres

2005-09-20 Thread scottpierce
sql_queries shows a query like this: SELECT assignments_assignments.id,assignments_assignments.teacher_id,assignments_assignments.student_id,assignments_assignments.subject_id,assignments_assignments.assignment_title,assignments_assignments.assignment,assignments_assignments.date_assigned,assignme