diff options
Diffstat (limited to '')
-rw-r--r-- | kosten/app/views/consts.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kosten/app/views/consts.py b/kosten/app/views/consts.py index 5d6598d..3ac5175 100644 --- a/kosten/app/views/consts.py +++ b/kosten/app/views/consts.py @@ -39,7 +39,8 @@ class ConstForm(F.Form): description='EUR', places=2) - description = F.StringField('Beschreibung', F.req) + description = F.StringField('Beschreibung', + F.req + F.lenOf(ConstExpense.description)) category = F.QuerySelectField('Kategorie', get_label='name', |