trentm / django-markdown-deux

A django app that provides Markdown-related template tags using the python-markdown2 library.
Other
288 stars 62 forks source link

Django 4.0 support #35

Closed maxmalysh closed 1 year ago

maxmalysh commented 2 years ago

In case somebody else will be looking for this, Django 4.0 is not supported at the moment:

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' 
(/Users/mmalysh/Dev/my-website/venv/web-3.10/lib/python3.10/site-packages/django/utils/encoding.py)
make: *** [sync] Error 1

Django 3.2 still works for us.

xrmx commented 1 year ago

1.0.6 has django 4.x support