summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-10-16 21:05:28 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-10-16 21:05:28 +0200
commit3a0fcfcfa90b86dd212b976eca3f212e10e69f8b (patch)
treef2473528f2234ddf91dacf2122f258c0b0d9373b /app
parent9621f1d1dcde09617a2f9bf9908affece64ef643 (diff)
downloadkosten-3a0fcfcfa90b86dd212b976eca3f212e10e69f8b.tar.gz
kosten-3a0fcfcfa90b86dd212b976eca3f212e10e69f8b.tar.bz2
kosten-3a0fcfcfa90b86dd212b976eca3f212e10e69f8b.zip
Use german locale for forms
Diffstat (limited to 'app')
-rw-r--r--app/forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/forms.py b/app/forms.py
index a4358a9..e744934 100644
--- a/app/forms.py
+++ b/app/forms.py
@@ -27,6 +27,7 @@ class DecimalField(fields.DecimalField):
req = [v.input_required()]
class Form(_Form):
+ LOCALES = ['de_DE', 'de']
def __init__ (self, *args, **kwargs):
self._msg = kwargs.pop('flash', u"Fehler im Formular!")
_Form.__init__(self, *args, **kwargs)