How to solve Import error for zinnia package for django v 3.2 and python 3.8(python_2_unicode_compatible import for zinnia v 0.20)?

I'm trying to add zinnia to my django project (python 3.8, django 3.2, zinnia 0.20)

Here's the error log:

File "/home/sayone/Documents/learning/virtuals/fastkart/lib/python3.8/site-packages/zinnia/models/", line 2, in <module>  
    from import Author
File "/home/sayone/Documents/learning/virtuals/fastkart/lib/python3.8/site-packages/zinnia/models/", line 6, in <module>
    from django.utils.encoding import python_2_unicode_compatible
ImportError: cannot import name 'python_2_unicode_compatible' from 'django.utils.encoding' (/home/sayone/Documents/learning/virtuals/fastkart/lib/python3.8/site-packages/django/utils/

Is there any other version of zinnia supporting django 3.2?

Back to Top