Set German Locale explicitely
This commit is contained in:
parent
e571c6178e
commit
f1471e21a5
2
wsgi.py
2
wsgi.py
@ -21,7 +21,9 @@ config = {
|
|||||||
"CACHE_THRESHOLD": 1000,
|
"CACHE_THRESHOLD": 1000,
|
||||||
"CACHE_DIR": "cache",
|
"CACHE_DIR": "cache",
|
||||||
}
|
}
|
||||||
|
import locale
|
||||||
|
|
||||||
|
locale.setlocale(locale.LC_ALL, "de_DE.UTF-8")
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.config.from_mapping(config)
|
app.config.from_mapping(config)
|
||||||
cache = Cache(app)
|
cache = Cache(app)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user