From 6aa4615bce8fa27daacabcdda0fc25ba2243c0cf Mon Sep 17 00:00:00 2001 From: Ian Ward Date: Mon, 1 Dec 2014 12:24:03 -0500 Subject: [PATCH] link to IValidators --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ed6291a8..8af8d4a3 100644 --- a/README.md +++ b/README.md @@ -282,13 +282,13 @@ This extension automatically adds calls to `convert_to_extras` for new extra fields, so you should not add that to this list. -New validators and converters may be added using the IValidators -plugin interface. +New validators and converters may be added using the +[IValidators plugin interface](http://docs.ckan.org/en/latest/extensions/plugin-interfaces.html?highlight=ivalidator#ckan.plugins.interfaces.IValidators). Validators that need access to other values in this schema (e.g. to test values against the choices list) May be decorated with the [scheming.validation.scheming_validator](ckanext/scheming/validation.py) -function. This decorator will make scheming to pass this field dict to the +function. This decorator will make scheming pass this field dict to the validator and use its return value for validation of the field.