Revision b36bd381 flowspec/views.py
b/flowspec/views.py | ||
---|---|---|
355 | 355 |
techmails_list = [] |
356 | 356 |
user_mail = "%s" %user.email |
357 | 357 |
user_mail = user_mail.split(';') |
358 |
techmails = user.get_profile().peer.techc() |
|
358 |
techmails = user.get_profile().peer.techc_emails.all()
|
|
359 | 359 |
if techmails: |
360 |
techmails_list = techmails.split(';') |
|
360 |
for techmail in techmails: |
|
361 |
techmails_list.append(techmail.email) |
|
361 | 362 |
if settings.NOTIFY_ADMIN_MAILS: |
362 | 363 |
additional_mail = settings.NOTIFY_ADMIN_MAILS |
363 | 364 |
# mail.extend(user_mail) |
Also available in: Unified diff