def _handle_management_command(self, cmd, *args, **kw):
        if not hasattr(self, "_configured"):
            self._configure_django(DEBUG=True)
        from django.core import management
        management.call_command(cmd, *args, **kw)
Take command and arguments and call them using Django.
dataset/ETHPy150Open amitu/importd/importd/__init__.py/D._handle_management_command