{% load i18n djadmin %}{% comment %} Django stacks the two halves of a datetime — "Date:" on one line, "Time:" on the next, each with its own shortcut links and icon — which costs about 250px of column. Here they sit on one row and share a single popover: calendar on the left, times on the right. The subwidgets are rendered through the base input template rather than through their own template_name: on Django 4.2 that resolves to admin/widgets/date.html above, which would wrap a picker inside a picker. {% endcomment %} {% with widget=widget.subwidgets.0 %}{% include "django/forms/widgets/input.html" %}{% endwith %} {% with widget=widget.subwidgets.1 %}{% include "django/forms/widgets/input.html" %}{% endwith %}