diff --git a/backend/core/models.py b/backend/core/models.py index 79ea78385..7ec691f45 100644 --- a/backend/core/models.py +++ b/backend/core/models.py @@ -2587,7 +2587,6 @@ def create_applied_controls_from_suggestions(self) -> list[AppliedControl]: applied_controls: list[AppliedControl] = [] for reference_control in self.requirement.reference_controls.all(): try: - # TODO: handle name unicity in scope _name = reference_control.name or reference_control.ref_id applied_control, created = AppliedControl.objects.get_or_create( name=_name,