Open ReneFroger opened 2 years ago
did you install the package? As shown at the top of the documentation:
pip install --no-cache-dir django_multitenant
Yes, I did. The package is listed in my pip packages list:
$ python -m pip list | grep multi django-multitenant 3.0.0
In both global environment as in Python virtual environment.
In the documentation https://github.com/citusdata/django-multitenant#automating-composite-foreign-keys-at-db-layer it's said that the
django.backends.postgresql could be replaced with
django_multitenant.backends.postgresqlin
ENGINEin
settings.py.But when I do this and run the server, I get the error:
Perhaps it's missing an import, but it's not clear which import I should make. So I think it should be explained in the documentation as well?