Commit e546a222 authored by Levy--Falk Hugo's avatar Levy--Falk Hugo

Fix l'erreur sur l'utilisation du massive bootstrap form pour l'ipv4

parent 9fbf1700
...@@ -153,7 +153,7 @@ def generate_ipv4_choices(form_obj): ...@@ -153,7 +153,7 @@ def generate_ipv4_choices(form_obj):
""" """
f_ipv4 = form_obj.fields['ipv4'] f_ipv4 = form_obj.fields['ipv4']
used_mtype_id = [] used_mtype_id = []
choices = '{"":[{key:"",value:'+_("Select a machine type first.},") choices = '{"":[{key:"",value:"'+_("Select a machine type first.") + '"}'
mtype_id = -1 mtype_id = -1
for ip in (f_ipv4.queryset for ip in (f_ipv4.queryset
......
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