I am creating a django webapp which will be used by multiple organizations.
I am using https://github.com/citusdata/django-multitenant library which helps in isolation of the tenant's data. Is there a way to change the existing workflow model so that I can have a foreign key related to a tenant model?
for example:
class Contract(TentantModel):
tentant = models.ForiegnKey(Tenant)
state = StateField()`
so that the tenant foreign key and state can be unique (combined)
I am creating a django webapp which will be used by multiple organizations. I am using https://github.com/citusdata/django-multitenant library which helps in isolation of the tenant's data. Is there a way to change the existing workflow model so that I can have a foreign key related to a tenant model?
for example:
so that the tenant foreign key and state can be unique (combined)