Open xaoo opened 4 years ago
Here is a quick fix I used until compatibility is updated
import six
import django.utils.encoding
django.utils.encoding.python_2_unicode_compatible = six.python_2_unicode_compatible
Here is a quick fix I used until compatibility is updated
import six import django.utils.encoding django.utils.encoding.python_2_unicode_compatible = six.python_2_unicode_compatible
definitely a hacky method but it does the job until an update is made to the library
Btw I've updated https://pypi.org/project/django-compat-patcher/ with lots of new Django 3.0 and 3.1 fixes, it should solve this problem too.
where are manage.py and settings.py file ?
@raju10101997 it's an installable plugin, install it with pip and then add it to your own project, in INSTALLED_APPS setting
The err. received:
Possible fix?
from six import python_2_unicode_compatible