django-tenant-schemas
django-tenant-schemas copied to clipboard
Tenant support for Django using PostgreSQL schemas.
I have implemented this in our wrapper around django-tenant-schemas, would you be interested by a port upstream ? See http://git.entrouvert.org/hobo.git/tree/hobo/multitenant/settings.py and http://git.entrouvert.org/hobo.git/tree/hobo/multitenant/apps.py . I also patched the thread module so...
Django 1.8 introduced a `setUpTestData` which should be called in `setUpClass` method.
Hello, I was wondering if there was a way already to have the authentication in the 'shared' app, but making each users access their specific domain names? In summary, is...
Nothing seems to happen when I call `python manage.py createcachetable`. Calling it with `--dry-run` doesn't output anything either. I want to use db caching. Settings as follows: ``` CACHES =...
Hi, I am getting error when I tried to add an app to tenant apps. ``` SHARED_APPS = ( 'tenant_schemas', # mandatory 'companyAPI', # you must list the app where...
If your tenant model's **PK** is an **UUIDField** the migrate_schemas is **not called** when the save() method is called.
Hi, I get an error when I try to delete a model instance in shell in the situation when there is a foreign key from the tenant model to the...
``` rf = TenantRequestFactory(self.tenant) request = rf.post('/') request.tenant ``` This will raise: `AttributeError: 'WSGIRequest' object has no attribute 'tenant'`
Is it possible to have a `ForeignKey` relation (eg: `created_by` field) from a model in a tenant schema (tenant app) to the `User` model which resides in the public schema...
When `auto_create_schema = False` is on the TenantMixin model the TenantTestCase will not create the schema in the database, the next line `connection.set_tenant(cls.tenant)` then silently fails to set the tenant...