|
@@ -48,7 +48,7 @@ class Command(BaseCommand):
|
|
|
Q(offer=offer)
|
|
|
# Check if OfferSubscription isn't resigned
|
|
|
& (Q(resign_date__isnull=True) | Q(resign_date__gt=today))
|
|
|
- ).selec_related('member')
|
|
|
+ ).select_related('member')
|
|
|
members = [s.member for s in offer_subscriptions]
|
|
|
else:
|
|
|
members = Member.objects.filter(status='member')
|