TenantColumn should export null if no tenant is assigned

This commit is contained in:
jeremystretch 2021-04-05 11:18:30 -04:00
parent 7b8bd2d4ce
commit 0a1531ce8a

View File

@ -26,7 +26,7 @@ class TenantColumn(tables.TemplateColumn):
super().__init__(template_code=self.template_code, *args, **kwargs)
def value(self, value):
return str(value)
return str(value) if value else None
#