Project

General

Profile

Download (292 Bytes) Statistics
| Branch: | Tag: | Revision:

root / entrouvert / djommon / multitenant / models.py @ 2ba6f6bf

1
from tenant_schemas.models import TenantMixin
2

    
3
class Tenant(TenantMixin):
4
    # default true, schema will be automatically created and synced when it is saved
5
    auto_create_schema = False
6

    
7
    def save(self):
8
        pass
9

    
10
    def __unicode__(self):
11
        return u'%s' % self.schema_name
(4-4/8)