diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-01-19 06:53:28 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-01-19 06:53:28 +0000 |
| commit | 220715124566ea32331352dff7a677ff4be780bc (patch) | |
| tree | ad07cd78b20f76e268f27f29262dcae97b392743 /docs/narr/views.rst | |
| parent | 1d4c6dc61a7b1033f0cf0a02bd8e3503c41f7432 (diff) | |
| download | pyramid-220715124566ea32331352dff7a677ff4be780bc.tar.gz pyramid-220715124566ea32331352dff7a677ff4be780bc.tar.bz2 pyramid-220715124566ea32331352dff7a677ff4be780bc.zip | |
view_name attr.
Diffstat (limited to 'docs/narr/views.rst')
| -rw-r--r-- | docs/narr/views.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst index 5e911fd7a..edc7bf563 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -84,7 +84,7 @@ The above maps the ``.views.hello_world`` view function to Python class represented by ``.models.Hello`` when the *view name* is ``hello.html``. -.. note:: Values prefixed with a period (``.``)for the ``for`` and +.. note:: Values prefixed with a period (``.``) for the ``for`` and ``view`` attributes of a ``view`` (such as those above) mean "relative to the Python package directory in which this :term:`ZCML` file is stored". So if the above ``view`` @@ -262,6 +262,8 @@ name will be ``my_view``, registered for models with the no permission, registered against requests which implement the default ``IRequest`` interface. +.. _using_model_interfaces: + Using Model Interfaces ---------------------- |
