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