mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 19:33:11 +00:00
Merge branch 'hotfix_ipv4_field' into 'dev'
Fix l'erreur sur l'utilisation du massive bootstrap form pour l'ipv4 See merge request federez/re2o!276
This commit is contained in:
commit
61bd9de8d1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue