bpereto/borg-hive

manage.py interface is in German

Closed this issue · 1 comments

When creating a superuser using

   # change into app container
   docker exec -it borg-hive_app_1 /bin/bash

   # create superuser
   ./manage.py createsuperuser

---

root@3bf00ebcbdd4:/app# ./manage.py createsuperuser
Benutzername (leave blank to use 'root'): borg
E-Mail-Adresse: 
Password: 
Password (again): 
Dieses Passwort ist zu kurz. Es muss mindestens 8 Zeichen enthalten.
Dieses Passwort ist zu üblich.
Dieses Passwort ist komplett numerisch. 
Bypass password validation and create user anyway? [y/N]: y
Superuser created successfully.
root@3bf00ebcbdd4:/app# 

this user is presented with German.

Should be English by default.

Yes, currently this is the default in settings.py and should be configurable over environment variables.

LANGUAGE_CODE = 'de-de'
TIME_ZONE = 'Europe/Zurich'

Will updated these to english by default.