From 2a64230c9181c634dda8cc8f4758fa9cb05cd3cf Mon Sep 17 00:00:00 2001 From: David Kennedy Date: Fri, 5 Jan 2024 11:30:52 -0500 Subject: [PATCH] getting started --- src/registrar/forms/application_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/registrar/forms/application_wizard.py b/src/registrar/forms/application_wizard.py index 5040649b6..65d19eae5 100644 --- a/src/registrar/forms/application_wizard.py +++ b/src/registrar/forms/application_wizard.py @@ -102,7 +102,7 @@ class RegistrarFormSet(forms.BaseFormSet): # when determining if related objects exist. threshold is 0 for most # relationships. if the relationship is related_name, we know that # there is already exactly 1 acceptable relationship (the one we are - # attempting to delete), so the threshold is 1 + # attempting to delete), so the threshold is 1 threshold = 1 if rel == related_name else 0 # Raise a KeyError if rel is not a defined field on the db_obj model