Skip to content

Commit

Permalink
style: small change
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Dec 13, 2022
1 parent f47eab9 commit 7cd1800
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scavenger2022/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ class Meta:
permissions = [("view_before_start", "Play game before start")]


class Team(models.Model): # note, a user can currently be in multiple teams, in the future limit this to one per (class: Hunt)
class Team(models.Model):
"""note, a user can currently be in multiple teams, in the future limit this to one per (class: Hunt)"""

# owner = models.ForeignKey(User, on_delete=models.PROTECT, related_name="teams_ownership") potentially add this later
id = models.AutoField(primary_key=True)
name = models.CharField(max_length=64, unique=True, null=True)
Expand Down Expand Up @@ -119,9 +121,7 @@ def invites(self):

def get_qr_nth(self):
"""Get the total amount of qr codes the team has completed"""
print(
int(self.current_qr_i) + 1
) # todo remove. this is just for debugging
print(int(self.current_qr_i) + 1) # todo remove. this is just for debugging
return int(self.current_qr_i) + 1

def __str__(self):
Expand Down

0 comments on commit 7cd1800

Please sign in to comment.