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
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
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
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
> >
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
5 matches
Mail list logo