(self, year, month)
return self.during(year, month).aggregate(total_amount=models.Sum("amount"))
Return paid Transfers during a certain year, month with total amounts annotated.
Return paid Transfers during a certain year, month with total amounts annotated.
Return paid Transfers during a certain year month with total amounts annotated .
def paid_totals_for(self, year, month):
        """
        Return paid Transfers during a certain year, month with total amounts annotated.
        """
        return self.during(year, month).aggregate(total_amount=models.Sum("amount"))
def paid_totals_for ( self , year , month ) : return self . during ( year , month ) . aggregate ( total_amount = models . Sum ( "amount" ) )