Opened 2 years ago
Closed 2 years ago
#34228 closed Bug (invalid)
Django 4.1.4 cannot import name 'force_unicode' from 'django.utils.encoding'
Description ¶
Traceback (most recent call last):
File "/home/josephho/django-fly/.venv/lib64/python3.9/site-packages/django/template/utils.py", line 69, in getitem
return self._engines[alias]
KeyError: 'Django'
raise InvalidTemplateLibrary(
django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'markdown_deux.templatetags.markdown_deux_tags': cannot import name 'force_unicode' from 'django.utils.encoding' (/home/josephho/django-fly/.venv/lib64/python3.9/site-packages/django/utils/encoding.py)
Change History (2)
comment:1 by , 2 years ago
comment:2 by , 2 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
force_unicode
was a private alias removed in Django 2.0. It seems that markdown_deux
doesn't support Django 2.0+. Please use one of support channels if you have further questions. Trac is not a support channel.
Please help to resolve! Thanks a lot!