How do I write this query in Django?

Posted by alex on Stack Overflow See other posts from Stack Overflow or by alex
Published on 2010-03-31T02:49:48Z Indexed on 2010/03/31 2:53 UTC
Read the original article Hit count: 289

Filed under:
|
|
|

Suppose I have a datetime column.

"SELECT * FROM mytable WHERE thetime < INTERVAL 1 HOUR"

How do you write this in Django?

© Stack Overflow or respective owner

Related posts about python

Related posts about django