Fix TypeError: Unknown option(s) for shell command: skip_checks.

This commit is contained in:
Felix Rindt
2020-07-24 16:53:51 +02:00
parent df1014d62f
commit 985e1ac9bf

View File

@@ -18,6 +18,7 @@ class Command(BaseCommand):
cmd = 'shell_plus'
except ImportError:
cmd = 'shell'
del options['skip_checks']
parser = self.create_parser(sys.argv[0], sys.argv[1])
flags = parser.parse_known_args(sys.argv[2:])[1]