2
0
Fork 0

fix(fallback): allow blank inputs for TeamMember comment field
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2024-05-21 17:40:01 +02:00
parent e0f7320801
commit c70965c46d
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ def generate_id():
class TeamMember(models.Model):
id = models.IntegerField(default=generate_id, editable=False, primary_key=True)
name = models.CharField(max_length=100)
comment = models.CharField(max_length=100, default="")
comment = models.CharField(max_length=100, blank=True, default="")
fallback_shifts = models.ManyToManyField(Shift, through="FallbackAssignment")
def url(self):