bernardopires / django-tenant-schemas

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

how to get Jupyter notebook to use an specific schema? #610

Open Mario-Cano opened 4 years ago

Mario-Cano commented 4 years ago

I'm trying to work with Jupyter alongside Django schemas. Thanks

jeroenbrouwer commented 4 years ago

Use schema_context, tenant_context or manually set the connection to the right schema. See: https://django-tenant-schemas.readthedocs.io/en/latest/use.html#utils

Mario-Cano commented 4 years ago

It worked, thank you!