summaryrefslogtreecommitdiff
path: root/app/forms.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/forms.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/forms.py b/app/forms.py
index a7b9fcd..1ab3c72 100644
--- a/app/forms.py
+++ b/app/forms.py
@@ -46,7 +46,7 @@ class ConstForm(Form):
end = DateField(u"Ende", req,
format="%m.%Y",
- default=today(),
+ default=today().replace(year = today().year + 1),
description=u"(einschließlich)")
months = IntegerField(u"Zahlungsrythmus", req,
@@ -56,9 +56,9 @@ class ConstForm(Form):
description=u"EUR",
places=2)
- desc = StringField(u"Beschreibung", req)
+ description = StringField(u"Beschreibung", req)
- cat = QuerySelectField(u"Kategorie",
+ category = QuerySelectField(u"Kategorie",
get_label="name")
prev = QuerySelectField(u"Vorgänger",