Просмотр исходного кода

Fixes #13767: Fix support for comments when creating a new service via web UI

Jeremy Stretch 2 лет назад
Родитель
Сommit
2dfbd72f10
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      netbox/ipam/forms/model_forms.py

+ 1 - 1
netbox/ipam/forms/model_forms.py

@@ -731,7 +731,7 @@ class ServiceCreateForm(ServiceForm):
     class Meta(ServiceForm.Meta):
         fields = [
             'device', 'virtual_machine', 'service_template', 'name', 'protocol', 'ports', 'ipaddresses', 'description',
-            'tags',
+            'comments', 'tags',
         ]
 
     def __init__(self, *args, **kwargs):