diff options
| author | Chris McDonough <chrism@plope.com> | 2010-11-09 12:18:40 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-11-09 12:18:40 -0500 |
| commit | 53deab6523ae769955ff897d334c08c8dac08da7 (patch) | |
| tree | bb2619f0520ec597535694288225d003f8ef40e8 /docs | |
| parent | c8f01af09c2e09162911db84fe0aeda78c37f827 (diff) | |
| download | pyramid-53deab6523ae769955ff897d334c08c8dac08da7.tar.gz pyramid-53deab6523ae769955ff897d334c08c8dac08da7.tar.bz2 pyramid-53deab6523ae769955ff897d334c08c8dac08da7.zip | |
remove unnecessary wording
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/urldispatch.rst | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst index 87efddfad..c1e4b28e3 100644 --- a/docs/narr/urldispatch.rst +++ b/docs/narr/urldispatch.rst @@ -16,15 +16,14 @@ dispatch exclusively allows you to avoid thinking about your application in terms of "contexts" and "view names" entirely. Many applications don't need :app:`Pyramid` features -- such as -declarative security via an :term:`authorization policy` -- that -benefit from having any visible separation between :term:`context -finding` and :term:`view lookup`. To this end, URL dispatch provides -a handy syntax that allows you to effectively map URLs *directly* to -:term:`view` code in such a way that you needn't think about your -application in terms of "context finding" at all. This makes developing -a :app:`Pyramid` application seem more like developing an -application in a system that is "context-free", such as :term:`Pylons` -or :term:`Django`. +context-sensitive declarative security via an :term:`authorization policy` -- +that benefit from having any visible separation between :term:`context +finding` and :term:`view lookup`. To this end, URL dispatch provides a handy +syntax that allows you to effectively map URLs *directly* to :term:`view` +code in such a way that you needn't think about your application in terms of +"context finding" at all. This makes developing a :app:`Pyramid` application +seem more like developing an application in a system that is "context-free", +such as :term:`Pylons` or :term:`Django`. Whether or not you care about "context", it often makes a lot of sense to use :term:`URL dispatch` instead of :term:`traversal` in an @@ -264,10 +263,6 @@ segment replacement marker. For example, for the URL ``/abc/``: - ``/:foo/`` will match. -.. warning:: The must-be-one-character-to-match-segment-marker rule is - new in version 1.3. It is untrue for older releases, but this was - due to a bug. - Note that values representing path segments matched with a ``:segment`` match will be url-unquoted and decoded from UTF-8 into Unicode within the matchdict. So for instance, the following |
