Add more code comments

Co-authored-by: Neil MartinsenBurrell <neil.martinsen-burrell@gsa.gov>
This commit is contained in:
Seamus Johnston 2023-01-13 14:43:13 -05:00
parent f54276d82b
commit f6c70f88a9
No known key found for this signature in database
GPG key ID: 2F21225985069105
2 changed files with 2 additions and 1 deletions

View file

@ -374,7 +374,7 @@ class BaseAlternativeDomainFormSet(RegistrarFormSet):
cleaned = post_data.cleaned_data if post_data is not None else {}
domain = cleaned.get("alternative_domain", None)
# matching database object exists, update it
# matching database object exists, update or delete it
if db_obj is not None and isinstance(domain, str):
entry_was_erased = domain.strip() == ""
if entry_was_erased: