You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, when I upgraded my project to django 4 and tried to run it with runserver I got the error attached. Therefore, the dependency requires the smart_text function which is no longer available for this version of Django. However, in the Django repository it is noted that smart_text is deprecated, so smart_str should be used, which is available in Django 4, so this could solve the problem.
The text was updated successfully, but these errors were encountered:
simevo
pushed a commit
to simevo/django-wkhtmltopdf
that referenced
this issue
Jan 20, 2022
Hello, when I upgraded my project to django 4 and tried to run it with runserver I got the error attached. Therefore, the dependency requires the
smart_text
function which is no longer available for this version of Django. However, in the Django repository it is noted thatsmart_text
is deprecated, sosmart_str
should be used, which is available in Django 4, so this could solve the problem.The text was updated successfully, but these errors were encountered: