diff --git a/backend/.dockerignore b/backend/.dockerignore index 752f2f3c2..a40364a6c 100644 --- a/backend/.dockerignore +++ b/backend/.dockerignore @@ -1,7 +1,6 @@ *.pyc *.DS_Store *~$* -**/*.mo .git* .pytest* .idea* diff --git a/backend/iam/models.py b/backend/iam/models.py index 72cc18cb8..4af980f3b 100644 --- a/backend/iam/models.py +++ b/backend/iam/models.py @@ -39,7 +39,6 @@ import structlog from django.utils import translation -import os logger = structlog.get_logger(__name__) @@ -287,10 +286,6 @@ def _create_user( ) logger.info("user created sucessfully", user=user) - FORCE_LANGUAGE = os.environ.get("FORCE_LANGUAGE") - if FORCE_LANGUAGE: - translation.activate(FORCE_LANGUAGE) - print("FORCE_LANGUAGE:", FORCE_LANGUAGE) if mailing: try: