mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 17:38:37 -06:00
Remove extraneous argument to GenericRelation
This commit is contained in:
parent
ed7f42a803
commit
6415661b61
@ -95,8 +95,7 @@ class ModularComponentModel(ComponentModel):
|
|||||||
inventory_items = GenericRelation(
|
inventory_items = GenericRelation(
|
||||||
to='dcim.InventoryItem',
|
to='dcim.InventoryItem',
|
||||||
content_type_field='component_type',
|
content_type_field='component_type',
|
||||||
object_id_field='component_id',
|
object_id_field='component_id'
|
||||||
related_name='%(class)ss',
|
|
||||||
)
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
Loading…
Reference in New Issue
Block a user