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

#3455: Correct related_name on Cluster.tenant

This commit is contained in:
Jeremy Stretch
2019-11-18 22:12:29 -05:00
parent d392982fe7
commit f3a41df395

View File

@@ -106,7 +106,7 @@ class Cluster(ChangeLoggedModel, CustomFieldModel):
tenant = models.ForeignKey(
to='tenancy.Tenant',
on_delete=models.PROTECT,
related_name='tenants',
related_name='clusters',
blank=True,
null=True
)