Browse Source

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

room-field
Hugo LEVY-FALK 7 years ago
parent
commit
e546a2228a
  1. 2
      machines/views.py

2
machines/views.py

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

Loading…
Cancel
Save