Update language on login and edit preference

This commit is contained in:
Mouse Reeve
2021-10-06 13:01:29 -07:00
parent c0af69045c
commit 26de524247
4 changed files with 17 additions and 5 deletions

View File

@ -30,6 +30,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
LOCALE_PATHS = [
os.path.join(BASE_DIR, "locale"),
]
LANGUAGE_COOKIE_NAME = env.str("LANGUAGE_COOKIE_NAME", "django_language")
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"