From 028b4b1c72e000dff5827e226fceca3906b3c1fe Mon Sep 17 00:00:00 2001 From: David Kilias Date: Sat, 14 Mar 2020 15:12:11 +0100 Subject: [PATCH] add empty string for unsed field --- base_data_model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/base_data_model.py b/base_data_model.py index 1951e77..1370662 100644 --- a/base_data_model.py +++ b/base_data_model.py @@ -29,6 +29,7 @@ class base_data_model(): def get_form_values_dict(self): base_data = dict(zip(self.forms.keys(), map(lambda f: f.value, self.forms.values()))) + base_data['address_region'] = '' return base_data def has_changed(self):