Changing fields
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Gregory Trullemans 2022-01-09 11:17:02 +01:00
parent 7713feca0d
commit fdc399d941
1 changed files with 2 additions and 2 deletions

View File

@ -92,8 +92,8 @@ class TouchPosition(models.Model):
long_label = models.CharField(max_length=30, verbose_name="Long label") long_label = models.CharField(max_length=30, verbose_name="Long label")
short_label = models.CharField(max_length=15, verbose_name="Short label") short_label = models.CharField(max_length=15, verbose_name="Short label")
allowed_in_competition = models.BooleanField(verbose_name="Allowed in competition") allowed_in_competition = models.BooleanField(verbose_name="Allowed in competition", default=True)
is_default = models.BooleanField(verbose_name="Défault ?") is_default = models.BooleanField(verbose_name="Défault ?", default=False)
def __str__(self): def __str__(self):
return "%s" % (self.long_label) return "%s" % (self.long_label)