mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 12:08:40 +02:00
Add some additional information
This commit is contained in:
parent
0e23946cf8
commit
0d23007fcd
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue