It's a bug that Django cannot serialize timedelta objects in migrations. It
will be fixed in 1.8.1 -- see https://code.djangoproject.com/ticket/24566.
On Friday, April 17, 2015 at 1:06:09 PM UTC-4, Mathijs Jonker wrote:
>
> Hi,
>
> I'm trying to figure out how to use a default value with a durati
Hi,
I'm trying to figure out how to use a default value with a duration field.
When I use *time_passed = models.DurationField(default=0)*:
* Migrations work
* Form defaults *don't* work *'int' object has no attribute
'total_seconds'*
When I use *time_passed = models.DurationField(defa
2 matches
Mail list logo