monim67 / django-bootstrap-datepicker-plus

Bootstrap3/Bootstrap4/Bootstrap5 DatePickerInput, TimePickerInput, DateTimePickerInput, MonthPickerInput, YearPickerInput with date-range-picker functionality for django >= 2.0
https://pypi.python.org/pypi/django-bootstrap-datepicker-plus
MIT License
223 stars 61 forks source link

fails to identify bootstrapVersion #83

Closed WernerGo closed 1 year ago

WernerGo commented 1 year ago

Describe the problem Using Boostrap5, Django 4.1.2, Python 3.10.2, macOS bigsur got an javascript error on console caused in the file "datepicker-widget.js". The variable boostrapVersion is not assigned with a proper value. After manually setting the variables isBootstrap4 and isBootstrap5 with false / true everything works fine.

monim67 commented 1 year ago

Resolved in 5.0.0.