Fallback to None when getting values for merge preview
This commit is contained in:
parent
f732e04f49
commit
f717bc47e5
|
@ -2141,7 +2141,7 @@ class MasterView(View):
|
|||
if self.merge_handler:
|
||||
return self.merge_handler.get_merge_preview_data(obj)
|
||||
|
||||
return dict([(f, getattr(obj, f))
|
||||
return dict([(f, getattr(obj, f, None))
|
||||
for f in self.get_merge_fields()])
|
||||
|
||||
def get_merge_resulting_data(self, remove, keep):
|
||||
|
|
Loading…
Reference in a new issue