Project

General

Profile

« Previous | Next » 

Revision 01a055c6

Added by Thomas Noël almost 10 years ago

result of tenant.create_schema is undefined

View differences:

entrouvert/djommon/multitenant/management/commands/create_schemas.py
16 16
                print self.style.NOTICE("=== Creating schema ") \
17 17
                    + self.style.SQL_TABLE(tenant.schema_name)
18 18

  
19
            if not tenant.create_schema(check_if_exists=True):
20
                print self.style.ERROR(' Nothing to do')
19
            tenant.create_schema(check_if_exists=True)

Also available in: Unified diff