monim67 / django-bootstrap-datepicker-plus

Bootstrap3/Bootstrap4/Bootstrap5 DatePickerInput, TimePickerInput, DateTimePickerInput, MonthPickerInput, YearPickerInput with date-range-picker functionality for django >= 2.0

Home Page:https://pypi.python.org/pypi/django-bootstrap-datepicker-plus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fails to identify bootstrapVersion

WernerGo opened this issue · comments

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.

Resolved in 5.0.0.