Bootstrap django-datetime-widget is a simple and clean widget for DateField, Timefiled and DateTimeField in Django framework. It is based on Bootstrap datetime picker, supports both Bootstrap 3 and Bootstrap 2
Django form widgets automatically render an ID attribute on an INPUT tag. Your widget adds a duplicate ID attribute to the outer wrapping DIV. Since IDs should be unique, this violates the HTML spec, and can cause errors when attempting to use javascript/jquery to access the form fields via ID.
Here is an example of the output. Note that the IDs on both the DIV and the INPUT are the same.
Django form widgets automatically render an ID attribute on an INPUT tag. Your widget adds a duplicate ID attribute to the outer wrapping DIV. Since IDs should be unique, this violates the HTML spec, and can cause errors when attempting to use javascript/jquery to access the form fields via ID.
Here is an example of the output. Note that the IDs on both the DIV and the INPUT are the same.