Re: how to make a datatime filed model without timestamp?

2011-02-06 Thread Aryeh Leib Taurog
On Feb 5, 1:04 pm, Nima Gaemi wrote: > hello, > i am using Djano 1.3 rev.15387 and i made a field > 'last_updated=models.DateTimeField(auto_now=True)' > when i wanted to get the data out of the database i wanted to get a > delta with datetime module of python but i was warned that my > datetime.da

how to make a datatime filed model without timestamp?

2011-02-05 Thread Nima Gaemi
hello, i am using Djano 1.3 rev.15387 and i made a field 'last_updated=models.DateTimeField(auto_now=True)' when i wanted to get the data out of the database i wanted to get a delta with datetime module of python but i was warned that my datetime.datetime.now() object was not timezone aware.so i th