--
Ticket URL: <https://code.djangoproject.com/ticket/28354>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => cuurda
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/28354#comment:1>
* owner: Nikita Levonovich => (none)
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/28354#comment:2>
* stage: Unreviewed => Someday/Maybe
Comment:
I'm uncertain if this is something that must be shipped with Django.
Perhaps seeing a proposal will help evaluate the idea.
--
Ticket URL: <https://code.djangoproject.com/ticket/28354#comment:3>
Comment (by JensTimmerman):
This should probably be 5 number fields, since the supported format is
[DD] [HH:[MM:]]ss[.uuuuuu]?
--
Ticket URL: <https://code.djangoproject.com/ticket/28354#comment:4>
Comment (by Nikita Levonovich):
Jens Timmerman, Yea, you are right. I made some wrong counting.
--
Ticket URL: <https://code.djangoproject.com/ticket/28354#comment:5>
* owner: (none) => Artem
* status: new => assigned
* version: 1.11 => master
--
Ticket URL: <https://code.djangoproject.com/ticket/28354#comment:6>
Comment (by Artem):
Will this widget be helpful ? I was using this in my few Django projects.
[[Image(https://user-
images.githubusercontent.com/3278913/74968911-a9681700-5441-11ea-
9a66-db804c22b52f.png)]]
--
Ticket URL: <https://code.djangoproject.com/ticket/28354#comment:7>
Comment (by Rupert Baker):
Hi Artem,
I'm currently working on a project which needed a Duration Field widget,
so we built something similar subclassing the MultiFieldWidget with 4x
NumberInputs. Ours was slightly different as we didn't have an input for
days but did for milliseconds (converted into microseconds). See dropbox
screenshot.
I'm not a django expert but I'd be interested to discuss your approach
with you as I think its a valid features.
Rupert
[[Image(https://www.dropbox.com/s/v7ttnzs8k1zi51n/Screenshot%202020-03-06%20at%2016.31.30.png?dl=0)]]
--
Ticket URL: <https://code.djangoproject.com/ticket/28354#comment:8>
* cc: Adam (Chainz) Johnson (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/28354#comment:9>