Преглед изворни кода

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):
     class Meta(ServiceForm.Meta):
         fields = [
         fields = [
             'device', 'virtual_machine', 'service_template', 'name', 'protocol', 'ports', 'ipaddresses', 'description',
             'device', 'virtual_machine', 'service_template', 'name', 'protocol', 'ports', 'ipaddresses', 'description',
-            'tags',
+            'comments', 'tags',
         ]
         ]
 
 
     def __init__(self, *args, **kwargs):
     def __init__(self, *args, **kwargs):