bernardopires / django-tenant-schemas

Tenant support for Django using PostgreSQL schemas.
https://django-tenant-schemas.readthedocs.org/en/latest/
MIT License
1.45k stars 425 forks source link

ImportError: cannot import name 'force_text' from 'django.utils.encoding' #675

Open mn-48 opened 2 years ago

mn-48 commented 2 years ago

According to Django 4 documentation, "force_text" definition or class does not exists in 'django.utils.encoding'.

_Django 4 documentation django.utils.encoding _

# How to solve it? cannot import name 'force_text' from 'django.utils.encoding'

junaooaks commented 2 years ago

I have the same problem, somebody help

ImportError: cannot import name 'force_text' from 'django.utils.encoding'

mn-48 commented 2 years ago

use django==3.2.9 version Django>=4.0 does not support this package

On Mon, Jan 3, 2022 at 5:50 AM junaooaks @.***> wrote:

I have the same problem, somebody help

ImportError: cannot import name 'force_text' from 'django.utils.encoding'

— Reply to this email directly, view it on GitHub https://github.com/bernardopires/django-tenant-schemas/issues/675#issuecomment-1003796986, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHLJUQ2GQRYPAXD7JELCKVLUUDQEJANCNFSM5KMZ4Z7Q . You are receiving this because you authored the thread.Message ID: @.***>

Johnny-Codes commented 2 years ago

When is this getting merged?