+class PayedFilter(YesNoFilter):
+ title = _('payment complete')
+ parameter_name = 'payed'
+ q = ~Q(payed_at=None)
+
+
+class ExpiredFilter(YesNoFilter):
+ title = _('schedule expired')
+ parameter_name = 'expired'
+ q = Q(expires_at__isnull=False, expires_at__lt=Now())
+
+