How to list all the objects with a specific date no matter the time in a DateTime Field

Posted by Marcoslhc on Stack Overflow See other posts from Stack Overflow or by Marcoslhc
Published on 2010-06-11T15:06:39Z Indexed on 2010/06/11 15:53 UTC
Read the original article Hit count: 108

Filed under:
|
|
|
|

I Have a model like this

foo=models.char
bar=models.dateime

In wich several foos arrives in one day in different time. I need to list all the foos in a specific date, no matter the time they arrive. I can't change the model, so splitting the bar in two fields(one for date and one for time) is out of reach right now :(

© Stack Overflow or respective owner

Related posts about python

Related posts about django