From 930df5f37ad83d87eabe3cfc781e277003bb522a Mon Sep 17 00:00:00 2001 From: julianajlk Date: Wed, 18 Oct 2023 11:02:47 -0400 Subject: [PATCH] fix: WIP fallback indent --- sanctions/apps/sanctions/models.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sanctions/apps/sanctions/models.py b/sanctions/apps/sanctions/models.py index d7a3313..7b2a793 100644 --- a/sanctions/apps/sanctions/models.py +++ b/sanctions/apps/sanctions/models.py @@ -61,19 +61,19 @@ class SanctionsFallbackData(models.Model): """ Model used to record and process one row received from SanctionsFallbackMetadata. Fields: - sanctions_fallback_metadata (ForeignKey): Foreign Key field with the CSV import Primary Key + sanctions_fallback_metadata (ForeignKey): Foreign Key field with the CSV import Primary Key referenced in SanctionsFallbackMetadata. - source (CharField): Origin of where the data comes from, since the CSV consolidates + source (CharField): Origin of where the data comes from, since the CSV consolidates export screening lists of the Departments of Commerce, State and the Treasury. - sdn_type (CharField): For a person with source 'Specially Designated Nationals (SDN) - + sdn_type (CharField): For a person with source 'Specially Designated Nationals (SDN) - Treasury Department', the type is 'Individual'. Other options include 'Entity' and 'Vessel'. Other lists do not have a type. - names (TextField): A space separated list of all lowercased names and alt names with + names (TextField): A space separated list of all lowercased names and alt names with punctuation also replaced by spaces. - addresses (TextField): A space separated list of all lowercased addresses combined into one + addresses (TextField): A space separated list of all lowercased addresses combined into one string. There are records that don't have an address, but because city is a required field in the Payment MFE, those records would not be matched in the API/fallback. - countries (CharField): A space separated list of all countries combined into one string. + countries (CharField): A space separated list of all countries combined into one string. Countries are extracted from the addresses field and in some instances the ID field in their 2 letter abbreviation. There are records that don't have a country, but because country is a required field in billing information form, those records would not be matched in the API/fallback.