Commits

Andriy Kornatskyy committed 8d6fd7d

Minor corrections in documentation

Comments (0)

Files changed (2)

 Validation
 ~~~~~~~~~~
 
-Not we can proceed with validation::
+Now we can proceed with validation::
     
     credential = Credential()
     errors = {}
 being submitted and value is a list. That list can have just one item for
 elements like input or several values that depict user choice.
 
-Let assume form submitted values looks this way::
+Let assume form submitted values look this way::
 
     values = {'username': [''], 'password': ['']}
 

doc/userguide.rst

 
 :py:class:`~wheezy.validation.validator.Validator` is a container of validation
 rules that all together provide object validation. You instantiate 
-:py:class:`~wheezy.validation.validator.Validator` and supply it with a map
+:py:class:`~wheezy.validation.validator.Validator` and supply it a map
 between attribute names being validated and list of rules. Here is an example::
 
     credential_validator = Validator({
         'password': [required, length(min=8, max=12)]
     })
 
-:py:class:`~wheezy.validation.validator.Validator` in no way tied with object
+:py:class:`~wheezy.validation.validator.Validator` in no way tied to object
 and/or class being validated, instead the only requirement is existance of
 attributes being validated. 
 
 Validation Rules
 ----------------
 
-Validation rules prevent bad data being processed. A Validation rule is a 
+Validation rules prevent bad data being processed. A validation rule is a 
 criterion used in the process of data validation.
 
 There are a number of validation rules defined already.