Skip to content

Commit

Permalink
static method issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cullerton committed Nov 13, 2024
1 parent 9e007c1 commit 43f7152
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crc/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ class Meta:
def get_is_admin(user):
return user.is_admin()

def get_is_superuser(self, user):
@staticmethod
def get_is_superuser(user):
return user.is_superuser()


Expand Down

0 comments on commit 43f7152

Please sign in to comment.