Projet

Général

Profil

Télécharger (292 octets) Statistiques
| Branche: | Tag: | Révision:

root / entrouvert / djommon / multitenant / models.py @ e8304bf1

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/7)