'python django smart-selects is not working properly
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
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
