From 220715124566ea32331352dff7a677ff4be780bc Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 19 Jan 2009 06:53:28 +0000 Subject: view_name attr. --- docs/narr/views.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/narr/views.rst') 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 ---------------------- -- cgit v1.2.3