

def _handle_management_command(self, cmd, *args, **kw):
    'Take command and arguments and call them using Django.'
    if (not hasattr(self, '_configured')):
        self._configure_django(DEBUG=True)
    from django.core import management
    management.call_command(cmd, *args, **kw)

dataset/ETHPy150Open amitu/importd/importd/__init__.py D._handle_management_command/original