1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #10414: Enable general purpose image attachments for device types

This commit is contained in:
jeremystretch
2023-04-10 16:43:40 -04:00
parent 4a331b560f
commit 6820796c10
3 changed files with 6 additions and 0 deletions

View File

@@ -120,6 +120,10 @@ class DeviceType(PrimaryModel, WeightMixin):
blank=True
)
images = GenericRelation(
to='extras.ImageAttachment'
)
clone_fields = (
'manufacturer', 'u_height', 'is_full_depth', 'subdevice_role', 'airflow', 'weight', 'weight_unit'
)