#38 User requests
* implements 4) "Comment fields should be of unlimited size"
This commit is contained in:
parent
7ed114a858
commit
2ca0ceade4
@ -32,8 +32,7 @@ class Payment(BaseResource):
|
|||||||
"""
|
"""
|
||||||
amount = models.FloatField(validators=[MinValueValidator(limit_value=0.00)])
|
amount = models.FloatField(validators=[MinValueValidator(limit_value=0.00)])
|
||||||
due_on = models.DateField(null=True, blank=True)
|
due_on = models.DateField(null=True, blank=True)
|
||||||
comment = models.CharField(
|
comment = models.TextField(
|
||||||
max_length=1000,
|
|
||||||
null=True,
|
null=True,
|
||||||
blank=True,
|
blank=True,
|
||||||
help_text="Refers to german money transfer 'Verwendungszweck'",
|
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)
|
type = models.CharField(max_length=255, null=True, blank=True, choices=DeadlineType.choices)
|
||||||
date = models.DateField(null=True, blank=True)
|
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):
|
def __str__(self):
|
||||||
return self.type
|
return self.type
|
||||||
|
Loading…
Reference in New Issue
Block a user