christokritz
Results
2
issues of
christokritz
Suppose I have the following 2 models and a model form ` class CostCenter(ClientModelMixin, models.Model): tenant_id = 'client_id' client = models.ForeignKey('accounts.Client', on_delete=models.CASCADE) name = models.CharField(max_length=50) objects = TenantManager() class Account(ClientModelMixin,...
enhancement
view integration
I'm using django-multitenant together with Celery and a Redis broker. I've added a tenant_id parameter to all my celery functions. When the tasks start it calls 'set_current_tenant' with this tenant...