Projet

Général

Profil

« Précédent | Suivant » 

Révision 01a055c6

Ajouté par Thomas Noël il y a environ 9 ans

result of tenant.create_schema is undefined

Voir les différences:

entrouvert/djommon/multitenant/management/commands/create_tenant.py
33 33
                print
34 34
                print self.style.NOTICE("=== Creating schema ") \
35 35
                    + self.style.SQL_TABLE(tenant.schema_name)
36
            if not tenant.create_schema(check_if_exists=True):
37
                print self.style.ERROR(' Nothing to do: %r already exist' % hostname)
36
            tenant.create_schema(check_if_exists=True)

Formats disponibles : Unified diff