Permalink
Browse files

fix renderings

  • Loading branch information...
1 parent f39dc1a commit d2e96ff546e0fdec483675367a820ce1ed4e02f0 @mcdonc mcdonc committed Jan 18, 2011
Showing with 24 additions and 3 deletions.
  1. +21 −0 docs/glossary.rst
  2. +1 −1 docs/index.rst
  3. +2 −2 docs/zcml.rst
View
@@ -188,3 +188,24 @@ Glossary
Python standard for connecting web applications to web servers,
similar to the concept of Java Servlets. Pyramid requires
that your application be served as a WSGI application.
+
+ dotted Python name
+ A reference to a Python object by name using a string, in the form
+ ``path.to.modulename:attributename``. Often used in Paste and
+ setuptools configurations. A variant is used in dotted names within
+ configurator method arguments that name objects (such as the "add_view"
+ method's "view" and "context" attributes): the colon (``:``) is not
+ used; in its place is a dot.
+
+ ZCML directive
+ A ZCML "tag" such as ``<view>``, ``<route>``, or ``<handler>``.
+
+ ZCML declaration
+ The concrete use of a :term:`ZCML directive` within a ZCML file.
+
+ application registry
+ A registry of configuration information consulted by Pyramid while
+ servicing an application. An application registry maps resource types
+ to views, as well as housing other application-specific component
+ registrations. Every Pyramid application has one (and only one)
+ application registry.
View
@@ -321,8 +321,8 @@ More Information
:maxdepth: 1
api.rst
- glossary.rst
zcml.rst
+ glossary.rst
Reporting Bugs / Development Versions
View
@@ -1,7 +1,7 @@
.. _zcml_handler_configuration:
Configuring a Handler via ZCML
-------------------------------
+==============================
Instead of using the imperative
:meth:`pyramid.config.Configurator.add_handler` method to add a new
@@ -87,7 +87,7 @@ Attributes
``factory``
The :term:`dotted Python name` to a function that will generate a
- :app:`Pyramid` context object when the associated route matches.
+ Pyramid context object when the associated route matches.
e.g. ``mypackage.resources.MyResource``. If this argument is not
specified, a default root factory will be used.

0 comments on commit d2e96ff

Please sign in to comment.