As the docs explicitly state that the new `DurationField` is "modeled in
Python by `timedelta`", I'm categorizing this as a bug in 1.8 rather than
a new feature.
--
Ticket URL: <https://code.djangoproject.com/ticket/24566>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* stage: Unreviewed => Accepted
* severity: Normal => Release blocker
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/24566#comment:1>
* has_patch: 0 => 1
Comment:
PR here: https://github.com/django/django/pull/4435
--
Ticket URL: <https://code.djangoproject.com/ticket/24566#comment:2>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/24566#comment:3>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"30a3c2f74c030449d3a8b9f02ab6744874712e54" 30a3c2f]:
{{{
#!CommitTicketReference repository=""
revision="30a3c2f74c030449d3a8b9f02ab6744874712e54"
Fixed #24566 -- Added support for serializing timedelta
Thanks to knbk for the report.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24566#comment:4>
Comment (by Baptiste Mispelon <bmispelon@…>):
In [changeset:"09188b50247fe3efa1d22cd3f9971bf4589e7cbe" 09188b5]:
{{{
#!CommitTicketReference repository=""
revision="09188b50247fe3efa1d22cd3f9971bf4589e7cbe"
[1.8.x] Fixed #24566 -- Added support for serializing timedelta
Thanks to knbk for the report.
Backport of 30a3c2f74c030449d3a8b9f02ab6744874712e54 from master.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24566#comment:5>