Commit bc2ada47 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg Committed by Sébastiaan Versteeg

Apply suggestion to website/activemembers/models.py

parent 17dfd1b9
......@@ -284,7 +284,10 @@ class MemberGroupMembership(models.Model, metaclass=ModelTranslateMeta):
@property
def latest_connected_membership(self):
"""Find the newest membership directly connected to the current one"""
"""
Find the newest membership directly connected to the current one
(thus the membership that started at the moment the current one ended)
"""
if self.until:
qs = MemberGroupMembership.objects.filter(
group=self.group,
......
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