Kaydet (Commit) 24b631d3 authored tarafından James Bennett's avatar James Bennett

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
üst d7d2bdd9
......@@ -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.
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