1
0
mirror of https://github.com/django/django.git synced 2025-10-26 15:16:09 +00:00

Fixed #25958 -- Removed support for 'skip_validation' in BaseCommand.execute(**options).

This commit is contained in:
Tim Graham
2015-12-21 14:26:42 -05:00
parent 5399ccc0f4
commit b10f66831b
2 changed files with 4 additions and 3 deletions

View File

@@ -334,9 +334,7 @@ class BaseCommand(object):
translation.deactivate_all()
try:
if (self.requires_system_checks and
not options.get('skip_validation') and # Remove at the end of deprecation for `skip_validation`.
not options.get('skip_checks')):
if self.requires_system_checks and not options.get('skip_checks'):
self.check()
output = self.handle(*args, **options)
if output: