diff options
| author | Patrick Canfield <patrickcandoit@gmail.com> | 2013-03-18 14:16:57 -0700 |
|---|---|---|
| committer | Pzatrick <patrickcandoit@gmail.com> | 2013-03-21 13:34:15 -0700 |
| commit | e163c0931e17c3ad79dd0fa08cea924db1813558 (patch) | |
| tree | f044ca7efeda052befa4f6f2f377354f3e2f76a7 /docs | |
| parent | b4eeddf672987c8f03058f5bf0d4f7080007b0e2 (diff) | |
| download | pyramid-e163c0931e17c3ad79dd0fa08cea924db1813558.tar.gz pyramid-e163c0931e17c3ad79dd0fa08cea924db1813558.tar.bz2 pyramid-e163c0931e17c3ad79dd0fa08cea924db1813558.zip | |
Update definingviews.rst to use active voice, reduce redundancy.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/tutorials/wiki2/definingviews.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/wiki2/definingviews.rst b/docs/tutorials/wiki2/definingviews.rst index 9df72c926..f733abe10 100644 --- a/docs/tutorials/wiki2/definingviews.rst +++ b/docs/tutorials/wiki2/definingviews.rst @@ -10,8 +10,8 @@ The request object has a dictionary as an attribute named ``matchdict``. A ``matchdict`` maps the placeholders in the matching URL ``pattern`` to the substrings of the :term:`request` ed URL. For instance, if a call to :meth:`pyramid.config.Configurator.add_route` has the pattern -``{one}/{two}``, and the URL at ``http://example.com/foo/bar`` is invoked, matching -this pattern, the ``matchdict`` attached to the request would look like: ``{'one':'foo', 'two':'bar'}`` +``{one}/{two}``, and a user visits ``http://example.com/foo/bar``, our pattern would be +matched and the ``matchdict`` would look like: ``{'one':'foo', 'two':'bar'}`` Declaring Dependencies in Our ``setup.py`` File |
