scripts: log number of participant links created in import_ev_reunion.py

This commit is contained in:
Benjamin Dauvergne 2013-01-07 09:59:08 +01:00
parent 9d743718e0
commit f224a4e752
1 changed files with 1 additions and 0 deletions

View File

@ -282,6 +282,7 @@ def main():
people_id=participant.people_ptr_id)
participants_through.append(pt)
ParticipantsThrough.objects.bulk_create(participants_through)
logging.info('%s created %s participants links', service.name, len(participants_through))
ServicesThrough.objects.bulk_create([
ServicesThrough(service_id=service.id, event_id=event_id) for event_id in events_by_id.values()])
participants = {}