diff --git a/machines/views.py b/machines/views.py index 3d71acab..02c3c671 100644 --- a/machines/views.py +++ b/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