From 2221a9d71ff6631bdf88886f354a8f31c4dfc1bd Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Tue, 9 Jan 2024 08:36:45 -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 )