Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- crew_csv = ''
- crew_rows = get_rows_from_csv(crew_csv)
- for c in crew_rows:
- participant = Participant(fullname=c[0], email=c[1], company=c[2], twitter=c[3], proposal_space_id=space.id)
- db.session.add(participant)
- db.session.commit()
- sync_attendee_records(participant, event)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement