1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Added missing items to deprecation timeline/1.7 release notes.

This commit is contained in:
Tim Graham
2015-01-18 21:23:06 -05:00
parent 69c6a6868f
commit ecf109f215
2 changed files with 17 additions and 7 deletions

View File

@@ -1693,10 +1693,16 @@ value of the former flag is used. Defining both ``requires_system_checks`` and
The ``check()`` method has replaced the old ``validate()`` method.
``ModelAdmin.validator``
~~~~~~~~~~~~~~~~~~~~~~~~
``ModelAdmin`` validators
~~~~~~~~~~~~~~~~~~~~~~~~~
``ModelAdmin.validator`` is deprecated in favor of new ``checks`` attribute.
The ``ModelAdmin.validator_class`` and ``default_validator_class`` attributes
are deprecated in favor of the new ``checks_class`` attribute.
The ``ModelAdmin.validate()`` method is deprecated in favor of
``ModelAdmin.check()``.
The ``django.contrib.admin.validation`` module is deprecated.
``django.db.backends.DatabaseValidation.validate_field``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~