diff options
| author | Tim Graham <timograham@gmail.com> | 2015-12-21 14:26:42 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-12-21 14:26:42 -0500 |
| commit | b10f66831ba2fc68901bc674104a76eb112ee52a (patch) | |
| tree | d3ab4dfa454527238e5faf2c24fe1f4588ac1d47 | |
| parent | 5399ccc0f4257676981ef7937ea84be36f7058a6 (diff) | |
Fixed #25958 -- Removed support for 'skip_validation' in BaseCommand.execute(**options).
| -rw-r--r-- | django/core/management/base.py | 4 | ||||
| -rw-r--r-- | docs/releases/1.10.txt | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/django/core/management/base.py b/django/core/management/base.py index b2c5815516..0d71e0f3d4 100644 --- a/django/core/management/base.py +++ b/django/core/management/base.py @@ -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: diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt index 09c437f941..7b360948a7 100644 --- a/docs/releases/1.10.txt +++ b/docs/releases/1.10.txt @@ -380,6 +380,9 @@ Miscellaneous is removed. This may affect query counts tested by ``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: Features deprecated in 1.10 |
