Parcourir la source

Fix missing method name

Grégoire Jadi il y a 7 ans
Parent
commit
a09344ede1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      coin/members/management/commands/members_email.py

+ 1 - 1
coin/members/management/commands/members_email.py

@@ -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')