Re: quantize result has too many digits for current context

2013-01-18 Thread Hector Armando Vela Santos
null=False, default=0) > > class Meta: > managed = False > db_table = 'venda_pedido_itens' > > > and in my template I try to use: {{ form.idpedido }} > > but when I`m use this, django show me this error: > > quantize result has too many d

quantize result has too many digits for current context

2013-01-17 Thread Fellipe Henrique
.', max_digits=12, decimal_places=4, null=False, default=0) valor_total = models.DecimalField(u'Vlr. Total', max_digits=12, decimal_places=4, null=False, default=0) class Meta: managed = False db_table = 'venda_pedido_itens' and in my template I try to use: