# HG changeset patch # User Madhusudan.C.S # Date 1280752372 -19800 # Node ID a190811581a8eaa4f5eafc4e6a16060cafc5392c # Parent 9ee78481e7cd7a3309b62b9e894b22c9d127de58 Added a script to generate CSV of full name and gender of participants who have confirmed participation. diff -r 9ee78481e7cd -r a190811581a8 scripts/fetch_name_gender.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/fetch_name_gender.py Mon Aug 02 18:02:52 2010 +0530 @@ -0,0 +1,7 @@ +from sdi.models import ParticipantInfo + +f = open('names.txt', 'w') +for participant in participants: + f.write('%s %s, %s\n' % (participant.participant.first_name, participant.participant.last_name, participant.participant.gender)) + +f.close()