Re: can't compare datetime.datetime to datetime.date

2014-01-28 Thread Rafał Szymański
e great. >> I'm in the begining of django tutorial. >> >> I use python3.3 and django1.6 >> >> I get error: >> can't compare datetime.datetime to datetime.date >> >> Here is my code: >> >> import datetime >> from django.utils import timez

Re: can't compare datetime.datetime to datetime.date

2014-01-27 Thread ian
her question. > If someone would be so kind and help that will be great. > I'm in the begining of django tutorial. > > I use python3.3 and django1.6 > > I get error: > can't compare datetime.datetime to datetime.date > > Here is my code: > > import datetime > from djan

can't compare datetime.datetime to datetime.date

2014-01-27 Thread Rafał Szymański
Hi again I wolud like ask another question. If someone would be so kind and help that will be great. I'm in the begining of django tutorial. I use python3.3 and django1.6 I get error: can't compare datetime.datetime to datetime.date Here is my code: import datetime from django.utils import

Re: can't compare datetime.datetime to datetime.date

2008-05-20 Thread Ben Firshman
The date() method of the datetime object is what you probably want. See the documentation: http://docs.python.org/lib/datetime-datetime.html Ben On 20 May 2008, at 09:56, vance ma wrote: > In django ;How to compare datetime.datetime and datetime.date > >

can't compare datetime.datetime to datetime.date

2008-05-20 Thread vance ma
In django ;How to compare datetime.datetime and datetime.date --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe