diff options
| author | Michael Merickel <michael@merickel.org> | 2015-02-07 02:35:56 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2015-02-07 02:35:56 -0600 |
| commit | c10354859a055270a028778e3f7c3b7fc8f39f63 (patch) | |
| tree | fd6fbbe3783e3727213159d19670dce94d9ad6e6 /docs | |
| parent | 3279854b8ffc02593a604f84d0f72b8e7d4f24a8 (diff) | |
| parent | 5de795938f4ec23c53cd4678021e36a72d3188cb (diff) | |
| download | pyramid-c10354859a055270a028778e3f7c3b7fc8f39f63.tar.gz pyramid-c10354859a055270a028778e3f7c3b7fc8f39f63.tar.bz2 pyramid-c10354859a055270a028778e3f7c3b7fc8f39f63.zip | |
Merge branch 'docs/response_factory' of bertjwregeer/pyramid into fix.response-factory-docs
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/hooks.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index 17cae2c67..8e6cf8343 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -368,6 +368,9 @@ changed by passing a ``response_factory`` argument to the constructor of the :term:`configurator`. This argument can be either a callable or a :term:`dotted Python name` representing a callable. +The factory takes a single positional argument, which is a :term:`Request` +object. The argument may be the value ``None``. + .. code-block:: python :linenos: |
