```
[2023-08-14 06:41:04,904: WARNING/MainProcess] /mnt/sda1/Development/Python/AllianceAuth/venv-3.11/lib/python3.11/site-packages/celery/worker/consumer/consumer.py:498: CPendingDeprecationWarning: The broker_connection_retry configuration setting will no longer determine
whether broker connection retries are made during startup in Celery 6.0 and above.
If you wish to retain the existing behavior for retrying connections on startup,
you should set broker_connection_retry_on_startup to True.
```
The `lambda` statement in `base.py` is unnecessary and has no effect.
```py
ugettext = lambda s: s
LANGUAGES = (
("en", ugettext("English")),
("de", ugettext("German")),
("es", ugettext("Spanish")),
("zh-hans", ugettext("Chinese Simplified")),
("ru", ugettext("Russian")),
("ko", ugettext("Korean")),
("fr", ugettext("French")),
("ja", ugettext("Japanese")),
("it", ugettext("Italian")),
)
```
In this case `ugettext = lambda s: s` is pretty much the same as:
```py
def ugettext(s):
return s
```
And would simply return the string the function receives as parameter.
So we can omit this completely and simplify the `LANGUAGES` list to:
```py
LANGUAGES = (
("en", "English"),
("de", "German"),
("es", "Spanish"),
("zh-hans", "Chinese Simplified"),
("ru", "Russian"),
("ko", "Korean"),
("fr", "French"),
("ja", "Japanese"),
("it", "Italian"),
)
```
Examples:
RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale.
warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning)
RemovedInDjango41Warning: 'allianceauth' defines default_app_config = 'allianceauth.apps.AllianceAuthConfig'. Django now detects this configuration automatically. You can remove default_app_config.
app_config = AppConfig.create(entry)