#38 User requests

* implements 4) "Comment fields should be of unlimited size"
This commit is contained in:
mpeltriaux 2021-11-15 14:08:29 +01:00
parent 7ed114a858
commit 2ca0ceade4
2 changed files with 2 additions and 3 deletions

View File

@ -32,8 +32,7 @@ class Payment(BaseResource):
"""
amount = models.FloatField(validators=[MinValueValidator(limit_value=0.00)])
due_on = models.DateField(null=True, blank=True)
comment = models.CharField(
max_length=1000,
comment = models.TextField(
null=True,
blank=True,
help_text="Refers to german money transfer 'Verwendungszweck'",

View File

@ -241,7 +241,7 @@ class Deadline(BaseResource):
type = models.CharField(max_length=255, null=True, blank=True, choices=DeadlineType.choices)
date = models.DateField(null=True, blank=True)
comment = models.CharField(max_length=1000, null=True, blank=True)
comment = models.TextField(null=True, blank=True)
def __str__(self):
return self.type