Django: QuerySet with objects where one time is earlier than another

Posted by blahblah on Stack Overflow See other posts from Stack Overflow or by blahblah
Published on 2010-04-19T18:39:08Z Indexed on 2010/04/19 18:43 UTC
Read the original article Hit count: 466

Filed under:

I have a Django model TimeThingie with two TimeFields called t1 and t2.

How do I get all TimeThingie objects where t1 < t2?

© Stack Overflow or respective owner

Related posts about django