diff options
| author | James Bennett <ubernostrum@gmail.com> | 2010-01-06 05:41:05 +0000 |
|---|---|---|
| committer | James Bennett <ubernostrum@gmail.com> | 2010-01-06 05:41:05 +0000 |
| commit | 24b631d33fe74058e21771c90339c1bd40167c27 (patch) | |
| tree | 27a11801192a181091bc4c1078c48420d1041982 /docs | |
| parent | d7d2bdd9e96cfc56cf02d8894cc693aa8d3a31dc (diff) | |
Add note about model validation to draft 1.2 release notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.2.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/releases/1.2.txt b/docs/releases/1.2.txt index d66b79f9c5..008d3c5d9f 100644 --- a/docs/releases/1.2.txt +++ b/docs/releases/1.2.txt @@ -511,3 +511,14 @@ Customizable syntax highlighting You can now use the ``DJANGO_COLORS`` environment variable to modify or disable the colors used by ``django-admin.py`` to provide :ref:`syntax highlighting <syntax-coloring>`. + +Model validation +---------------- + +Model instances now have support for :ref:`validating their own data +<validating-objects`, and both model and form fields now accept +configurable lists of :ref:`validators <ref-validators>` specifying +reusable, encapsulated validation behavior. Note, however, that +validation must still be performed explicitly: simply invoking a model +instance's ``save()`` method will not perform any validation of the +instance's data. |
