mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #8846: Enable image attachments for module types
This commit is contained in:
@@ -374,6 +374,11 @@ class ModuleType(NetBoxModel):
|
||||
blank=True
|
||||
)
|
||||
|
||||
# Generic relations
|
||||
images = GenericRelation(
|
||||
to='extras.ImageAttachment'
|
||||
)
|
||||
|
||||
clone_fields = ('manufacturer',)
|
||||
|
||||
class Meta:
|
||||
|
Reference in New Issue
Block a user