figuring out objects created 30 min ago in django

Posted by ed1t on Stack Overflow See other posts from Stack Overflow or by ed1t
Published on 2010-03-31T03:07:49Z Indexed on 2010/03/31 3:13 UTC
Read the original article Hit count: 370

Filed under:
|
|

I have a DateTimeField called created in my model and I would like to get all the objects where created date is 30 min or more. How would query this using MyModel.objects(....) in django?

© Stack Overflow or respective owner

Related posts about django

Related posts about python