I am testing this library for a small project. I am using postgres db.
The problem I am facing is that I am unable to create super user from shell. I have specified database in the shell eg.
python manage.py createsuperuser --database mydb
and then i get the error
django.core.exceptions.ImproperlyConfigured: Tenant name not set at cursor create time.
Since there isn't any comprehensive documentation available for it, I wanted to ask if there is a way to work this out?
UPDATE: I even tried
TENANT_NAME=mydb ./manage.my migrate --database=mydb
where mydb is the name of tenant and also for the database
I am testing this library for a small project. I am using postgres db. The problem I am facing is that I am unable to create super user from shell. I have specified database in the shell eg.
python manage.py createsuperuser --database mydb
and then i get the errorSince there isn't any comprehensive documentation available for it, I wanted to ask if there is a way to work this out?
UPDATE: I even tried
TENANT_NAME=mydb ./manage.my migrate --database=mydb
where mydb is the name of tenant and also for the database