We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ebcfb54 + 9e83b4e commit 9602b22Copy full SHA for 9602b22
1 file changed
users/admin.py
@@ -234,7 +234,8 @@ def get_export_users_emails(self, users):
234
235
for baby in little_mans:
236
projects_names = [
237
- collab.project.industry.name for collab in baby.collaborations.all()
+ collab.project.industry.name if collab.project.industry else ""
238
+ for collab in baby.collaborations.all()
239
]
240
response_data.append(
241
[
@@ -248,7 +249,8 @@ def get_export_users_emails(self, users):
248
249
250
for big_man in big_mans:
251
- collab.project.industry.name for collab in big_man.collaborations.all()
252
253
+ for collab in big_man.collaborations.all()
254
255
256
0 commit comments