Verified Commit 205e8b1d authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Rely on instead of for expiration emails so that tests work

parent 422cd6e0
......@@ -8,7 +8,6 @@ from django.template import loader
from django.template.defaultfilters import floatformat
from django.urls import reverse
from django.utils import timezone, translation
from django.utils.datetime_safe import datetime
from django.utils.translation import ugettext as _
from members.models import Member, Membership
......@@ -124,7 +123,7 @@ def send_expiration_announcement(dry_run=False):
:param dry_run: does not really send emails if True
expiry_date = + timedelta(days=31)
expiry_date = + timedelta(days=31)
members = (Member.current_members
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment