fix(fallback): allow blank inputs for TeamMember comment field
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e0f7320801
commit
c70965c46d
|
@ -20,7 +20,7 @@ def generate_id():
|
||||||
class TeamMember(models.Model):
|
class TeamMember(models.Model):
|
||||||
id = models.IntegerField(default=generate_id, editable=False, primary_key=True)
|
id = models.IntegerField(default=generate_id, editable=False, primary_key=True)
|
||||||
name = models.CharField(max_length=100)
|
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")
|
fallback_shifts = models.ManyToManyField(Shift, through="FallbackAssignment")
|
||||||
|
|
||||||
def url(self):
|
def url(self):
|
||||||
|
|
Loading…
Reference in New Issue