Open source video conferencing app powered by LiveKit. Built with Django and React.
♻️(backend) remove lazy from languages field on User model
lebaudantoine496ae12fa9bf
diff --git a/src/backend/core/models.py b/src/backend/core/models.pyindex 7db9d83b..aa5f7f5a 100644--- a/src/backend/core/models.py+++ b/src/backend/core/models.py@@ -14,7 +14,6 @@ from django.core import mail, validatorsfrom django.core.exceptions import PermissionDenied, ValidationErrorfrom django.db import modelsfrom django.utils import timezone-from django.utils.functional import lazyfrom django.utils.text import capfirst, slugifyfrom django.utils.translation import gettext_lazy as _@@ -164,7 +163,7 @@ class User(AbstractBaseUser, BaseModel, auth_models.PermissionsMixin):)language = models.CharField(max_length=10,- choices=lazy(lambda: settings.LANGUAGES, tuple)(),+ choices=settings.LANGUAGES,default=settings.LANGUAGE_CODE,verbose_name=_("language"),help_text=_("The language in which the user wants to see the interface."),