Closed Ivan-Vinitskyi closed 2 months ago
In general it is better to use gettext_lazy: https://github.com/cordery/django-countries-plus/blob/1eb0a0b61c83669224c33952b3fb4096c83cb587/countries_plus/models.py#L6C38-L6C45
gettext_lazy
This is causing Exceptions with Django 5:
AppRegistryNotReady: The translation infrastructure cannot be initialized before the apps registry is ready.
In general it is better to use
gettext_lazy
: https://github.com/cordery/django-countries-plus/blob/1eb0a0b61c83669224c33952b3fb4096c83cb587/countries_plus/models.py#L6C38-L6C45