scripts/fetch_name_gender.py
author anoop
Thu, 19 Aug 2010 18:20:27 +0530
branchanoop
changeset 231 97290cc22eb5
parent 204 a190811581a8
permissions -rw-r--r--
changed the template for send_sgd_cnf.

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