Fixes #712: Corrected export of tenants which are not assigned to a group

This commit is contained in:
Jeremy Stretch
2016-11-29 13:45:31 -05:00
parent 8bff8bcbe2
commit e31fae5ec5
3 changed files with 10 additions and 4 deletions

View File

@@ -48,6 +48,6 @@ class Tenant(CreatedUpdatedModel, CustomFieldModel):
return ','.join([
self.name,
self.slug,
self.group.name,
self.group.name if self.group else '',
self.description,
])