mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 11:26:26 -06:00
#3455: Correct related_name on Cluster.tenant
This commit is contained in:
parent
2e43b6b5ca
commit
90fb4150d7
@ -106,7 +106,7 @@ class Cluster(ChangeLoggedModel, CustomFieldModel):
|
|||||||
tenant = models.ForeignKey(
|
tenant = models.ForeignKey(
|
||||||
to='tenancy.Tenant',
|
to='tenancy.Tenant',
|
||||||
on_delete=models.PROTECT,
|
on_delete=models.PROTECT,
|
||||||
related_name='tenants',
|
related_name='clusters',
|
||||||
blank=True,
|
blank=True,
|
||||||
null=True
|
null=True
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user