Add some additional information

This commit is contained in:
zandercymatics 2024-02-20 11:13:09 -07:00
parent 0e23946cf8
commit 0d23007fcd
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -257,6 +257,8 @@ class DomainInformation(TimeStampedModel):
# This will not happen in normal code flow, but having some redundancy doesn't hurt.
# da_dict should not have "id" under any circumstances.
# If it does have it, then this indicates that common_fields is overzealous in the data
# that it is returning. Try looking in DomainHelper.get_common_fields.
if "id" in da_dict:
logger.warning("create_from_da() -> Found attribute 'id' when trying to create")
da_dict.pop("id", None)