(self, year, month)
return (
            self.canceled_during(year, month)
            .values("plan")
            .order_by()
            .annotate(count=models.Count("plan"))
        )
Return Subscriptions canceled within a time range with plan counts annotated.
Return Subscriptions canceled within a time range with plan counts annotated.
Return Subscriptions canceled within a time range with plan counts annotated .
def canceled_plan_summary_for(self, year, month):
        """
        Return Subscriptions canceled within a time range with plan counts annotated.
        """
        return (
            self.canceled_during(year, month)
            .values("plan")
            .order_by()
            .annotate(count=models.Count("plan"))
        )
def canceled_plan_summary_for ( self , year , month ) : return ( self . canceled_during ( year , month ) . values ( "plan" ) . order_by ( ) . annotate ( count = models . Count ( "plan" ) ) )