diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-09-13 12:33:50 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-10-24 12:06:08 +0200 |
commit | 2c07eef528c7ab69385e85e6e861839e502e4646 (patch) | |
tree | fde4a330920d179f1d849a1f53eea18eff011bce /bootstrap_datepicker | |
parent | 46fde16870a11cd68a3027dd974b4c8b36643d54 (diff) | |
download | Ishtar-2c07eef528c7ab69385e85e6e861839e502e4646.tar.bz2 Ishtar-2c07eef528c7ab69385e85e6e861839e502e4646.zip |
QA packaging - fix date initialization
Diffstat (limited to 'bootstrap_datepicker')
-rw-r--r-- | bootstrap_datepicker/widgets.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap_datepicker/widgets.py b/bootstrap_datepicker/widgets.py index 9416ac16b..338319311 100644 --- a/bootstrap_datepicker/widgets.py +++ b/bootstrap_datepicker/widgets.py @@ -159,8 +159,8 @@ class DatePicker(DateTimeInput): html = self.html_template % dict(div_attrs=flatatt(div_attrs), input_attrs=flatatt(input_attrs), icon_attrs=flatatt(icon_attrs)) - js = self.js_template % dict(picker_id=picker_id, - options=json_dumps(self.options or {})) + js = self.js_template % dict( + picker_id=picker_id, options=json_dumps(self.options or {})) return mark_safe(force_text(html + js)) |