Skip to content

Commit

Permalink
Update models.py such that short code can be longer
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasBottone authored Jun 22, 2024
1 parent 12bf7ef commit d46b242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ranked/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class GameMode(models.Model):
game = models.CharField(max_length=25)
players_per_alliance = models.IntegerField(
validators=[MinValueValidator(1), MaxValueValidator(3)])
short_code = models.CharField(max_length=7, unique=True)
short_code = models.CharField(max_length=10, unique=True)

def __str__(self):
return self.name
Expand Down

0 comments on commit d46b242

Please sign in to comment.