diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2013-04-15 00:31:16 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2013-04-15 00:31:16 +0200 |
commit | efd12ebd857281530dd986674ccf3f1aba8f4e20 (patch) | |
tree | f67aaf432d094d27c4d729edb106992a8b7cc191 /app/forms.py | |
parent | 58165e7f9c72f03604c54f2929b785fc39f760a5 (diff) | |
download | kosten-efd12ebd857281530dd986674ccf3f1aba8f4e20.tar.gz kosten-efd12ebd857281530dd986674ccf3f1aba8f4e20.tar.bz2 kosten-efd12ebd857281530dd986674ccf3f1aba8f4e20.zip |
constexps functionality
Diffstat (limited to 'app/forms.py')
-rw-r--r-- | app/forms.py | 6 |
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", |