mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-19 09:53:34 -06:00
#3455: Correct related_name on Cluster.tenant
This commit is contained in:
parent
d392982fe7
commit
f3a41df395
@ -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