#38 User requests
* implements 4) "Comment fields should be of unlimited size"
This commit is contained in:
parent
6ec37dbe11
commit
e4a40cdff5
@ -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'",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user