Commit bb93c1e7 authored by Patrick's avatar Patrick

Django 1.10 compatibility

parent 2dd52050
......@@ -62,7 +62,7 @@ class SelectAdminDeliveryWidget(forms.Select):
""".format(
final_attrs=flatatt(final_attrs),
name=name,
options=self.render_options(choices, [value]),
options=self.render_options(choices),
value=value,
case_show_show=case_show_show,
case_show_hide=case_show_hide,
......
......@@ -132,7 +132,7 @@ class SelectAdminOrderUnitWidget(forms.Select):
""".format(
final_attrs=flatatt(final_attrs),
name=name,
options=self.render_options(choices, [value]),
options=self.render_options(choices),
value=value,
PIECE_WEIGHT_IN_KG=_("Piece weight in kg"),
PIECE_CONTENT_IN_L=_("Piece content in l"),
......
......@@ -69,7 +69,7 @@ class SelectAdminPermanenceWidget(forms.Select):
""".format(
final_attrs=flatatt(final_attrs),
name=name,
options=self.render_options(choices, [value]),
options=self.render_options(choices),
value=value,
case_show_show=case_show_show,
case_show_hide=case_show_hide,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment