Commit 95f8aedf authored by Joost Rijneveld's avatar Joost Rijneveld
Browse files

Merge branch 'feature/mentor-mailinglist' into 'master'

Make sure the mentor mailinglist uses the next lecture year from January till…

Closes #486

See merge request !548
parents 8f57d9b8 6d26d1d6
......@@ -23,8 +23,12 @@ def get_automatic_lists():
active_members = [x.member for x in active_committee_memberships]
lectureyear = datetime_to_lectureyear(
# Change to next lecture year after December
if 0 < < 9:
lectureyear += 1
active_mentorships = Mentorship.objects.filter(
mentors = [x.member for x in active_mentorships]
lists = []
Markdown is supported
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