I store Decimal values in my postgres database with a django App. In django the field in the model is type : models.DecimalField(max_digits=19, decimal_places=2)
On my local server i've no problem. On pythonanywhere, sometimes the query on the DB gives : Decimal('80') and sometimes it gives Decimal('8E+1') If i refresh the webpage a few times it will switch. I've the same psycog2 version on local and pythonanywhere servers. Do you know what happens ? How could i solve that issue ? Thank you.