I work on a python(django) project. I write csv code as follows,
response = HttpResponse(mimetype='text/csv')
response['Content-Disposition'] = 'attachment; filename=DueDateWiseSearch.csv'
writer = csv.writer(response)
writer.writerow(['Infant Name','Mother Name','Mother Address',
'Next Vaccine Dose','Due date','Coments'])
this row is the header and I need to bold all header text. I download csv as ms "Excel" file.
How can I do it? Please help!