Skip to content

Commit

Permalink
Merge pull request #63 from florentx/patch-1
Browse files Browse the repository at this point in the history
Confusion between validation_exceptions and validation_errors.
  • Loading branch information
jfinkels committed Apr 18, 2012
2 parents d3dd69b + fa7b1cb commit d9c5f9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/customizing.rst
Expand Up @@ -119,10 +119,10 @@ error response.

For example, if your validation framework includes an exception called
``ValidationError``, then call the :meth:`APIManager.create_api` method with
the ``validation_errors`` keyword argument::
the ``validation_exceptions`` keyword argument::

from cool_validation_framework import ValidationError
apimanager.create_api(Person, validation_errors=[ValidationError])
apimanager.create_api(Person, validation_exceptions=[ValidationError])

.. note::

Expand Down

0 comments on commit d9c5f9b

Please sign in to comment.