Opened 23 months ago
Closed 23 months ago
#34228 closed Bug (invalid)
Django 4.1.4 cannot import name 'force_unicode' from 'django.utils.encoding'
Reported by: | Joseph Ho | Owned by: | nobody |
---|---|---|---|
Component: | Utilities | Version: | 4.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
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 , 23 months ago
comment:2 by , 23 months 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!