Django

Code

Changeset 978

Show
Ignore:
Timestamp:
10/20/05 08:22:20 (3 years ago)
Author:
adrian
Message:

Fixed #655 -- Improved 'validator_list' section of docs/model-api.txt.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/model-api.txt

    r968 r978  
    172172 
    173173``validator_list`` 
    174     A list of extra validators to apply to the field. 
     174    A list of extra validators to apply to the field. Each should be a callable 
     175    that takes the parameters ``field_data, all_data`` and raises 
     176    ``django.core.validators.ValidationError`` for errors. (See the 
     177    `validator docs`_.) 
     178 
     179    Django comes with quite a few validators. They're in ``django.core.validators``. 
     180 
     181.. _validator docs: http://www.djangoproject.com/documentation/forms/#validators 
    175182 
    176183Field types