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
2.x and newer versions of Django require Python 3, which includes package six by default. Therefore this no longer needs to be imported from django.utils.
Also, Widget.render() method has an additional optional parameter renderer=None.
This PR makes these two changes necessary for the package to work with Django 2.2+.
2.x and newer versions of Django require Python 3, which includes package
six
by default. Therefore this no longer needs to be imported from django.utils.Also, Widget.render() method has an additional optional parameter
renderer=None
.This PR makes these two changes necessary for the package to work with Django 2.2+.