Deprecated smart_text
smart_text is no more supported by django 4.0
File "/usr/lib/python3.9/site-packages/ryzom_django/template_backend.py", line 11, in <module>
from django.utils.encoding import smart_text
ImportError: cannot import name 'smart_text' from 'django.utils.encoding' (/usr/lib/python3.9/site-packages/django/utils/encoding.py)
grep -rin smart_text .
./src/ryzom_django/template_backend.py:11:from django.utils.encoding import smart_text
./src/ryzom_django/template_backend.py:110: return smart_text(token)