Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added a note that full_validate will not be called automatically by m…

…odel.save().

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4d6c66d4d8fa63005f8ca2d3fbae195922969d13 1 parent 5b97a7b
Joseph Kocherhans authored January 05, 2010

Showing 1 changed file with 7 additions and 0 deletions. Show diff stats Hide diff stats

  1. 7  docs/ref/models/instances.txt
7  docs/ref/models/instances.txt
@@ -44,6 +44,13 @@ message dict with errors from all fields.
44 44
 
45 45
 To add your own validation logic, override the supplied ``validate()`` method:
46 46
 
  47
+Note that ``full_validate`` will NOT be called automatically when you call
  48
+your model's ``save()`` method. You will need to call it manually if you wish
  49
+to run your model validators. This is for the purposes of backwards
  50
+compatibility. However, if you are using a ``ModelForm``, it will call
  51
+``full_validate`` for you, and present any errors along with the other form
  52
+error messages.
  53
+
47 54
 .. method:: Model.validate()
48 55
 
49 56
 The ``validate()`` method on ``Model`` by default checks for uniqueness of

0 notes on commit 4d6c66d

Please sign in to comment.
Something went wrong with that request. Please try again.