Skip to content
This repository has been archived by the owner on Feb 6, 2021. It is now read-only.

Commit

Permalink
Fixes typo
Browse files Browse the repository at this point in the history
  • Loading branch information
devraj committed Jun 24, 2015
1 parent dbb87fd commit 6969232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Each handler has a meta attribute called __parser_config__ this must be an insta
* ``body_template`` an instance of a ``prestans.types.DataCollection`` subclass i.e a Model or an Array of Prestans ``DataType``, this is what Prestans will use to validate the request sent to your handler. If validation of the incoming data fails, Prestans will not execute the associated verb in your handler.
* ``request_attribute_filter`` is an attribute filter used to relax or tighten rules for the incoming data. This is particularly useful if you want to use portions of a model. Particularly useful for ``UPDATE`` requests.

.. warning:: By default Prestans exposes _none_ of the attributes in the response, setting this to ``True`` will show all attributes in the response. Your handler code is responsible for toggling visibility in either instance.
.. warning:: By default Prestans exposes none of the attributes in the response, setting the ``response_attribute_filter_default_value`` parameter to ``True`` will show all attributes in the response. Your handler code is responsible for toggling visibility in either instance.

.. code-block:: python
Expand Down

0 comments on commit 6969232

Please sign in to comment.