diff options
| author | Michael Merickel <michael@merickel.org> | 2016-04-07 01:16:45 -0500 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2016-04-07 01:27:06 -0500 |
| commit | a3db3cab713fecc0c83c742cfe3f0736b1d94a92 (patch) | |
| tree | ba3017bb9b0d6ddaed31bbfb64e9eac3c64d0e40 /docs/api | |
| parent | ecc9d82ef6bd50a08dcbee7286ba4581d3caa902 (diff) | |
| download | pyramid-a3db3cab713fecc0c83c742cfe3f0736b1d94a92.tar.gz pyramid-a3db3cab713fecc0c83c742cfe3f0736b1d94a92.tar.bz2 pyramid-a3db3cab713fecc0c83c742cfe3f0736b1d94a92.zip | |
separate the viewderiver module and allow overriding the mapper
Diffstat (limited to 'docs/api')
| -rw-r--r-- | docs/api/viewderivers.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/api/viewderivers.rst b/docs/api/viewderivers.rst new file mode 100644 index 000000000..a4ec107b6 --- /dev/null +++ b/docs/api/viewderivers.rst @@ -0,0 +1,16 @@ +.. _viewderivers_module: + +:mod:`pyramid.viewderivers` +--------------------------- + +.. automodule:: pyramid.viewderivers + + .. attribute:: INGRESS + + Constant representing the request ingress, for use in ``under`` + arguments to :meth:`pyramid.config.Configurator.add_view_deriver`. + + .. attribute:: MAPPED_VIEW + + Constant representing the closest view deriver, for use in ``over`` + arguments to :meth:`pyramid.config.Configurator.add_view_deriver`. |
