Re: How can I use more than 24 hours in TimeField?

2008-12-02 Thread Thomas Guettler
Hi, Maybe my TimedeltaField helps you: http://www.djangosnippets.org/snippets/1060/ K*K schrieb: > As you know time data type in mysql allow to be used more than 24 > hours, but when there is a more than 24 hours record in the table > such as 72:00:00, and then query the table with Django

Re: How can I use more than 24 hours in TimeField?

2008-12-01 Thread julianb
On Dec 1, 11:03 am, "K*K" <[EMAIL PROTECTED]> wrote: > As you know time data type in mysql allow to be used more than 24 > hours, but when there is a more  than 24 hours record in the table > such as 72:00:00, and then query the table with Django ORM, it will > report 'ValueError hour must be in

How can I use more than 24 hours in TimeField?

2008-12-01 Thread K*K
As you know time data type in mysql allow to be used more than 24 hours, but when there is a more than 24 hours record in the table such as 72:00:00, and then query the table with Django ORM, it will report 'ValueError hour must be in 0..23'. I'm porting a old program that record rum times of