def handle(self, *args, **options): call_command('syncdb', interactive=False) from twistranet.core import install install.install_theme()
def handle(self, *args, **options): cmd = syncdb.Command() cmd.execute() from twistranet.core import install install.install_theme()