Fix datetimepicker

This commit is contained in:
cuom1999 2023-08-25 16:51:32 -05:00
parent d34fe19754
commit 0da2098bbe
3 changed files with 4 additions and 2 deletions

View file

@ -16,8 +16,8 @@ class DateTimePickerWidget(forms.DateTimeInput):
@property
def media(self):
css_url = "https://cdnjs.cloudflare.com/ajax/libs/jquery-datetimepicker/2.5.20/jquery.datetimepicker.min.css"
js_url = "https://cdnjs.cloudflare.com/ajax/libs/jquery-datetimepicker/2.5.20/jquery.datetimepicker.full.min.js"
css_url = "/static/datetime-picker/datetimepicker.min.css"
js_url = "/static/datetime-picker/datetimepicker.full.min.js"
return forms.Media(
js=[js_url],
css={"screen": [css_url]},

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long