Loading django/core/management/commands/validate.pydeleted 100644 → 0 +0 −16 Original line number Diff line number Diff line # -*- coding: utf-8 -*- from __future__ import unicode_literals import warnings from django.core.management.commands.check import Command as CheckCommand from django.utils.deprecation import RemovedInDjango19Warning class Command(CheckCommand): help = 'Deprecated. Use "check" command instead. ' + CheckCommand.help def handle(self, **options): warnings.warn('"validate" has been deprecated in favor of "check".', RemovedInDjango19Warning) super(Command, self).handle(**options) docs/man/django-admin.1 +0 −3 Original line number Diff line number Diff line Loading @@ -113,9 +113,6 @@ no apps are specified .BI "testserver [" "\-\-addrport=ipaddr|port" "] [" "fixture fixture ..." "]" Runs the test suite for the specified applications, or the entire project if no apps are specified .TP .BI validate Validates all installed models. .SH "OPTIONS" .TP .I \-\-version Loading docs/ref/django-admin.txt +0 −11 Original line number Diff line number Diff line Loading @@ -1343,17 +1343,6 @@ To run on 1.2.3.4:7000 with a ``test`` fixture:: The :djadminopt:`--noinput` option may be provided to suppress all user prompts. validate -------- .. django-admin:: validate .. deprecated:: 1.7 Replaced by the :djadmin:`check` command. Validates all installed models (according to the :setting:`INSTALLED_APPS` setting) and prints validation errors to standard output. Commands provided by applications ================================= Loading docs/releases/1.7.txt +3 −2 Original line number Diff line number Diff line Loading @@ -222,7 +222,7 @@ resolving those problems. The framework is extensible so you can add your own checks for your own apps and libraries. To perform system checks, you use the :djadmin:`check` management command. This command replaces the older :djadmin:`validate` management command. This command replaces the older ``validate`` management command. New ``Prefetch`` object for advanced ``prefetch_related`` operations. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Loading Loading @@ -1681,7 +1681,8 @@ deprecated, use ``SplitDateTimeWidget`` with ``validate`` ~~~~~~~~~~~~ :djadmin:`validate` command is deprecated in favor of :djadmin:`check` command. The ``validate`` management command is deprecated in favor of the :djadmin:`check` command. ``django.core.management.BaseCommand`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Loading tests/logging_tests/tests.py +2 −2 Original line number Diff line number Diff line Loading @@ -385,7 +385,7 @@ class SettingsConfigTest(AdminScriptTestCase): def test_circular_dependency(self): # validate is just an example command to trigger settings configuration out, err = self.run_manage(['validate']) out, err = self.run_manage(['check']) self.assertNoOutput(err) self.assertOutput(out, "System check identified no issues (0 silenced).") Loading Loading @@ -466,6 +466,6 @@ format=%(message)s self.remove_settings('settings.py') def test_custom_logging(self): out, err = self.run_manage(['validate']) out, err = self.run_manage(['check']) self.assertNoOutput(err) self.assertOutput(out, "System check identified no issues (0 silenced).") Loading
django/core/management/commands/validate.pydeleted 100644 → 0 +0 −16 Original line number Diff line number Diff line # -*- coding: utf-8 -*- from __future__ import unicode_literals import warnings from django.core.management.commands.check import Command as CheckCommand from django.utils.deprecation import RemovedInDjango19Warning class Command(CheckCommand): help = 'Deprecated. Use "check" command instead. ' + CheckCommand.help def handle(self, **options): warnings.warn('"validate" has been deprecated in favor of "check".', RemovedInDjango19Warning) super(Command, self).handle(**options)
docs/man/django-admin.1 +0 −3 Original line number Diff line number Diff line Loading @@ -113,9 +113,6 @@ no apps are specified .BI "testserver [" "\-\-addrport=ipaddr|port" "] [" "fixture fixture ..." "]" Runs the test suite for the specified applications, or the entire project if no apps are specified .TP .BI validate Validates all installed models. .SH "OPTIONS" .TP .I \-\-version Loading
docs/ref/django-admin.txt +0 −11 Original line number Diff line number Diff line Loading @@ -1343,17 +1343,6 @@ To run on 1.2.3.4:7000 with a ``test`` fixture:: The :djadminopt:`--noinput` option may be provided to suppress all user prompts. validate -------- .. django-admin:: validate .. deprecated:: 1.7 Replaced by the :djadmin:`check` command. Validates all installed models (according to the :setting:`INSTALLED_APPS` setting) and prints validation errors to standard output. Commands provided by applications ================================= Loading
docs/releases/1.7.txt +3 −2 Original line number Diff line number Diff line Loading @@ -222,7 +222,7 @@ resolving those problems. The framework is extensible so you can add your own checks for your own apps and libraries. To perform system checks, you use the :djadmin:`check` management command. This command replaces the older :djadmin:`validate` management command. This command replaces the older ``validate`` management command. New ``Prefetch`` object for advanced ``prefetch_related`` operations. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Loading Loading @@ -1681,7 +1681,8 @@ deprecated, use ``SplitDateTimeWidget`` with ``validate`` ~~~~~~~~~~~~ :djadmin:`validate` command is deprecated in favor of :djadmin:`check` command. The ``validate`` management command is deprecated in favor of the :djadmin:`check` command. ``django.core.management.BaseCommand`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Loading
tests/logging_tests/tests.py +2 −2 Original line number Diff line number Diff line Loading @@ -385,7 +385,7 @@ class SettingsConfigTest(AdminScriptTestCase): def test_circular_dependency(self): # validate is just an example command to trigger settings configuration out, err = self.run_manage(['validate']) out, err = self.run_manage(['check']) self.assertNoOutput(err) self.assertOutput(out, "System check identified no issues (0 silenced).") Loading Loading @@ -466,6 +466,6 @@ format=%(message)s self.remove_settings('settings.py') def test_custom_logging(self): out, err = self.run_manage(['validate']) out, err = self.run_manage(['check']) self.assertNoOutput(err) self.assertOutput(out, "System check identified no issues (0 silenced).")