allow mark max 5000 char

This commit is contained in:
Your Name 2021-10-11 23:24:16 -04:00
parent 1646cfcc8e
commit cae8f608ac

View file

@ -238,7 +238,7 @@ class MarkStatusEnum(models.TextChoices):
class Mark(UserOwnedEntity):
status = models.CharField(choices=MarkStatusEnum.choices, max_length=20)
rating = models.PositiveSmallIntegerField(blank=True, null=True)
text = models.CharField(max_length=500, blank=True, default='')
text = models.CharField(max_length=5000, blank=True, default='')
def __str__(self):
return f"({self.id}) {self.owner} {self.status.upper()}"