summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/views.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst
index 2efe84fac..3916e6aac 100644
--- a/docs/narr/views.rst
+++ b/docs/narr/views.rst
@@ -227,7 +227,11 @@ The ``view`` ZCML directive has these possible attributes:
view
- The Python dotted-path name to the view callable.
+ The Python dotted-path name to the view callable. This attribute is
+ required unless a ``template`` attribute also exists. If a
+ ``template`` attribute exists on the directive, this attribute
+ defaults to a view that returns an empty dictionary (see
+ :ref:`views_with_templates`).
for