Hi Artem I've used such a widget on a project. There's a third party package that implements such a custom widget: https://github.com/devangpadhiyar/django-durationwidget . However on the project we found it's a bit immature and forked it internally (with some customizations).
I think I'd like to see a third party package that implements this well with good test coverage before it makes its way into Django core. Imo the ability to select whether or not to display hours, microseconds, etc. is really useful too. On Sat, 22 Feb 2020 at 12:02, Artem Hruzd <arti3d.ar...@gmail.com> wrote: > In multiple projects I faced with issue to make a duration field easy for > use for Admin users. I always back to custom solution and added simply 4 > fields: > > > <https://user-images.githubusercontent.com/3278913/74968911-a9681700-5441-11ea-9a66-db804c22b52f.png> > I found an open ticket with the same problem > https://code.djangoproject.com/ticket/28354 > > Do you think this will be helper feature? Do I need go over this and > implement it ? > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-developers+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/fc1be9f6-0f16-42b9-9183-c1b42e388221%40googlegroups.com > <https://groups.google.com/d/msgid/django-developers/fc1be9f6-0f16-42b9-9183-c1b42e388221%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Adam -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMyDDM1uYsB9Lf95a3k3YqcxxVcrA3AsEjVyxV_zeE1i6QdGQw%40mail.gmail.com.