Changing fields
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
7713feca0d
commit
fdc399d941
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue