mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-10 22:44:47 +02:00
Add more code comments
Co-authored-by: Neil MartinsenBurrell <neil.martinsen-burrell@gsa.gov>
This commit is contained in:
parent
f54276d82b
commit
f6c70f88a9
2 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue