Closed gsgalloway closed 6 years ago
Given the following model:
class MyModel(TenantModel): data = models.StringField(...) tenant = models.ForeignKey(...) tenant_id = 'tenant_id'
the code generates
kwargs = { UUID('foobar'): UUID('foobar') }
when it should generate
kwargs = { 'tenant_id': UUID('foobar')}
Given the following model:
the code generates
when it should generate