Skip to content
Snippets Groups Projects
Commit 41e48643 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Fix the applicant check

parent eab97946
No related branches found
No related tags found
No related merge requests found
...@@ -95,7 +95,7 @@ class User(AbstractUser): ...@@ -95,7 +95,7 @@ class User(AbstractUser):
@property @property
def is_applicant(self): def is_applicant(self):
return not self.groups.exists() return not self.is_apply_staff and not self.is_reviewer
class Meta: class Meta:
ordering = ('full_name', 'email') ordering = ('full_name', 'email')
......
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