瀏覽代碼

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

Jeremy Stretch 2 年之前
父節點
當前提交
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):