scripts/fetch_name_gender.py
author nishanth
Fri, 27 Aug 2010 14:09:04 +0530
branchanoop
changeset 233 c5df028e4438
parent 204 a190811581a8
permissions -rw-r--r--
created another table to hold incentive info

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()