SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 07874d46 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Correct bug: Contributor is_active is a property, not a method

parent 486a5faf
No related branches found
No related tags found
No related merge requests found
...@@ -110,6 +110,7 @@ class Contributor(models.Model): ...@@ -110,6 +110,7 @@ class Contributor(models.Model):
def formal_str(self): def formal_str(self):
return '%s %s' % (self.get_title_display(), self.user.last_name) return '%s %s' % (self.get_title_display(), self.user.last_name)
@property
def is_active(self): def is_active(self):
""" """
Checks if the Contributor is registered, vetted, Checks if the Contributor is registered, vetted,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment