I have install django-smart-selects
but when i add the url in the urls.py
url(r'^chaining/', include('smart_selects.urls')),
when i run my application after this i got this error
from django.utils.encoding import force_text ImportError: cannot import name 'force_text' from 'django.utils.encoding'
so here in django.utils.encoding
I didn't find any import force_text
so I change it to force_str
.
I am using django 4.0