Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
25e2c8b0
Commit
25e2c8b0
authored
Aug 13, 2016
by
Koen van Ingen
Browse files
Fix typeError in active member function
parent
0c6a5c7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/members/models.py
View file @
25e2c8b0
...
...
@@ -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
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment