Commit 25e2c8b0 authored by Koen van Ingen's avatar Koen van Ingen
Browse files

Fix typeError in active member function

parent 0c6a5c7a
......@@ -299,7 +299,7 @@ class Membership(models.Model):
return self.user.member
def is_active(self):
return not self.until or self.until > timezone.now()
return not self.until or self.until > timezone.now().date()
class BecomeAMemberDocument(models.Model):
......
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