Kaydet (Commit) b10f6683 authored tarafından Tim Graham's avatar Tim Graham

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

üst 5399ccc0
...@@ -334,9 +334,7 @@ class BaseCommand(object): ...@@ -334,9 +334,7 @@ class BaseCommand(object):
translation.deactivate_all() translation.deactivate_all()
try: try:
if (self.requires_system_checks and if self.requires_system_checks and not options.get('skip_checks'):
not options.get('skip_validation') and # Remove at the end of deprecation for `skip_validation`.
not options.get('skip_checks')):
self.check() self.check()
output = self.handle(*args, **options) output = self.handle(*args, **options)
if output: if output:
......
...@@ -380,6 +380,9 @@ Miscellaneous ...@@ -380,6 +380,9 @@ Miscellaneous
is removed. This may affect query counts tested by is removed. This may affect query counts tested by
``TransactionTestCase.assertNumQueries()``. ``TransactionTestCase.assertNumQueries()``.
* Support for ``skip_validation`` in ``BaseCommand.execute(**options)`` is
removed. Use ``skip_checks`` (added in Django 1.7) instead.
.. _deprecated-features-1.10: .. _deprecated-features-1.10:
Features deprecated in 1.10 Features deprecated in 1.10
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment