Closed maxthevoice closed 5 years ago
It's probably related to the fact that we need to use the name
of the app instead of the relative path users.apps.UsersConfig
.
I think https://github.com/bernardopires/django-tenant-schemas/pull/569 will fix this issue.
apps.py
class UsersConfig(AppConfig):
name = 'users'
def ready(self):
import users.signals
The signals are not imported.
I used Django Tenants library instead. The import of apps is better and don't interfer with signals.
I have an issue since I installed the library. The signals are not called anymore. When creating a User, for example, a Profile instance should be created, but it doesn't.
signals.py:
tests.py:
settings.py:
I tried with
tenant_schemas.postgresql_backend
directly as the mainENGINE
, but I got the same issue. So I don't think it's related withpsqlextra
.I tried it directly from the admin, and I have the same issue.
Let me know if you need more details.