Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions users/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ def get_export_users_emails(self, users):

for baby in little_mans:
projects_names = [
collab.project.industry.name for collab in baby.collaborations.all()
collab.project.industry.name if collab.project.industry else ""
for collab in baby.collaborations.all()
]
response_data.append(
[
Expand All @@ -248,7 +249,8 @@ def get_export_users_emails(self, users):

for big_man in big_mans:
projects_names = [
collab.project.industry.name for collab in big_man.collaborations.all()
collab.project.industry.name if collab.project.industry else ""
for collab in big_man.collaborations.all()
]
response_data.append(
[
Expand Down