On Wed, Oct 7, 2009 at 1:13 PM, Paddy Joy wrote:
>
> Can anyone help out with the following aggregation clause? I have an
> invoice and invoice_item models as shown.
>
> class Invoice(models.Model):
>
> customer = models.ForeignKey(Customer)
> payments_received = models.FloatField(default=
Can anyone help out with the following aggregation clause? I have an
invoice and invoice_item models as shown.
class Invoice(models.Model):
customer = models.ForeignKey(Customer)
payments_received = models.FloatField(default=0)
class Invoice_Item(models.Model):
invoice = models.F
2 matches
Mail list logo