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

Removed obsolete CSV headers from DeviceType (export is now YAML-based)

Jeremy Stretch пре 6 година
родитељ
комит
2ea95941e2
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      netbox/dcim/models/__init__.py

+ 0 - 3
netbox/dcim/models/__init__.py

@@ -1018,9 +1018,6 @@ class DeviceType(ChangeLoggedModel, CustomFieldModel):
 
 
     tags = TaggableManager(through=TaggedItem)
     tags = TaggableManager(through=TaggedItem)
 
 
-    csv_headers = [
-        'manufacturer', 'model', 'slug', 'part_number', 'u_height', 'is_full_depth', 'subdevice_role', 'comments',
-    ]
     clone_fields = [
     clone_fields = [
         'manufacturer', 'u_height', 'is_full_depth', 'subdevice_role',
         'manufacturer', 'u_height', 'is_full_depth', 'subdevice_role',
     ]
     ]