|
@ -76,7 +76,8 @@ class Command(BaseCommand): |
|
|
if type == 'LIB': |
|
|
if type == 'LIB': |
|
|
mytype = item.type |
|
|
mytype = item.type |
|
|
elif type not in ('MAIL','VIS','LIST'): |
|
|
elif type not in ('MAIL','VIS','LIST'): |
|
|
myname = getattr(item,name) |
|
|
|
|
|
|
|
|
myname = item.name |
|
|
|
|
|
print(f'name gefunden: {myname}') |
|
|
self.survey_link(email=item.email, |
|
|
self.survey_link(email=item.email, |
|
|
type=mytype, |
|
|
type=mytype, |
|
|
pid=f'{mytype}{item.pk}', |
|
|
pid=f'{mytype}{item.pk}', |
|
|