diff options
| author | Chris McDonough <chrism@plope.com> | 2011-08-13 06:11:26 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-08-13 06:11:26 -0400 |
| commit | 157c29002377b65834a960fd2d59c40bdd43f417 (patch) | |
| tree | daac5767f3da29ed9191c7cb9715f6c9ac967939 /docs/narr/commandline.rst | |
| parent | 956c56bd1e80818c1aa98609a6a9f2fdd8f393ae (diff) | |
| download | pyramid-157c29002377b65834a960fd2d59c40bdd43f417.tar.gz pyramid-157c29002377b65834a960fd2d59c40bdd43f417.tar.bz2 pyramid-157c29002377b65834a960fd2d59c40bdd43f417.zip | |
disallow adding a tween factory which is an instance without passing its globally importable name
Diffstat (limited to 'docs/narr/commandline.rst')
| -rw-r--r-- | docs/narr/commandline.rst | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/narr/commandline.rst b/docs/narr/commandline.rst index b1a646aec..97004d2b8 100644 --- a/docs/narr/commandline.rst +++ b/docs/narr/commandline.rst @@ -311,11 +311,9 @@ application request handler and the WSGI application which calls it. A user can get a representation of both the implicit tween ordering (the ordering specified by calls to :meth:`pyramid.config.Configurator.add_tween`) and the explicit tween ordering (specified by the ``pyramid.tweens`` configuration -setting) orderings using the ``paster ptweens`` command. Handler factories -which are functions or classes will show up as a standard Python dotted name -in the ``paster ptweens`` output. Tween factories which are *instances* will -show their module and class name; the Python object id of the instance will -be appended. +setting) orderings using the ``paster ptweens`` command. Tween factories +will show up represented by their standard Python dotted name in the +``paster ptweens`` output. For example, here's the ``paster pwteens`` command run against a system configured without any explicit tweens: |
