def handle(self, *args, **options): from keops.db import scripts db = options['database'] verbosity = options['verbosity'] scripts.createdb(db) scripts.syncdb(db) call_command('installapps', database=db, verbosity=verbosity)
def handle(self, *args, **options): from keops.db import scripts scripts.dropdb(options['database']) scripts.createdb(options['database']) scripts.syncdb(options['database'])