From 2366f7764b425ecf5318c272d11296e1d0acb7e1 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Tue, 9 Jan 2024 08:29:37 -0500 Subject: [PATCH] Fixes #14749: Remove errant translation wrapper from DeviceBay installed_device --- netbox/dcim/models/device_components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/models/device_components.py b/netbox/dcim/models/device_components.py index ef235078fa3..88dddb31267 100644 --- a/netbox/dcim/models/device_components.py +++ b/netbox/dcim/models/device_components.py @@ -1115,7 +1115,7 @@ class DeviceBay(ComponentModel, TrackingModelMixin): installed_device = models.OneToOneField( to='dcim.Device', on_delete=models.SET_NULL, - related_name=_('parent_bay'), + related_name='parent_bay', blank=True, null=True )