I am having problems with reportlab.
Python 3 / Django application
I have a Pessoa
model that contains a data de nascimento
field that is of type DateTimeField
.
I am trying to write the date of birth in the PDF but the error.
Remembering that the date comes from the database.
Other fields like Name, City, Address, etc. are writing in PDF correctly.
p = Pessoa.objects.get(pk=pk)
c.drawString(200, 630, p.data_nascimento)
I'musingReportLab( link )