summaryrefslogtreecommitdiff
path: root/kosten/app/views/consts.py
diff options
context:
space:
mode:
Diffstat (limited to 'kosten/app/views/consts.py')
-rw-r--r--kosten/app/views/consts.py3
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',