diff options
| author | Michael Merickel <michael@merickel.org> | 2018-11-11 22:39:52 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2018-11-11 23:45:24 -0600 |
| commit | dff0798e352d0afeeec2058200ac983692b606c2 (patch) | |
| tree | 9e6c4da2d683db86808437e0af1aad1231cdc846 /docs/glossary.rst | |
| parent | ebb56ebe4dd0cbecd6d19b5741ddf52c96a0176d (diff) | |
| download | pyramid-dff0798e352d0afeeec2058200ac983692b606c2.tar.gz pyramid-dff0798e352d0afeeec2058200ac983692b606c2.tar.bz2 pyramid-dff0798e352d0afeeec2058200ac983692b606c2.zip | |
use inherit_slash=True on add_route to opt-in to no trailing slash
Diffstat (limited to 'docs/glossary.rst')
| -rw-r--r-- | docs/glossary.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/glossary.rst b/docs/glossary.rst index 4668efe6d..f42b298df 100644 --- a/docs/glossary.rst +++ b/docs/glossary.rst @@ -1203,3 +1203,7 @@ Glossary A media type is a nested structure containing a top-level type and a subtype. Optionally, a media type can also contain parameters specific to the type. See :rfc:`6838` for more information about media types. + + route prefix + A route prefix is a path prefix that is prepended to any routes that are configured while it is active. + A route prefix can be set via :meth:`pyramid.config.Configurator.include` or :meth:`pyramid.config.Configurator.route_prefix_context`. |
