Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
remove FORCE_LANGUAGE (failing) workaround
  • Loading branch information
eric-intuitem committed Dec 10, 2024
1 parent 9426e80 commit a7fc7cd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions backend/iam/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@

import structlog
from django.utils import translation
import os

logger = structlog.get_logger(__name__)

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit a7fc7cd

Please sign in to comment.