Remove rear_ports M2M fields from FrontPort & FrontPortTemplate

This commit is contained in:
Jeremy Stretch
2025-11-21 13:15:57 -05:00
parent bfff2d7658
commit 66bbfa7a88
9 changed files with 156 additions and 67 deletions

View File

@@ -133,8 +133,6 @@ class FrontPortTemplateCreateForm(ComponentCreateForm, model_forms.FrontPortTemp
# Check that the number of FrontPortTemplates to be created matches the selected number of RearPortTemplate
# positions
print(f"name: {self.cleaned_data['name']}")
print(f"rear_ports: {self.cleaned_data['rear_ports']}")
frontport_count = len(self.cleaned_data['name'])
rearport_count = len(self.cleaned_data['rear_ports'])
if frontport_count != rearport_count: