diff options
| author | Michael Merickel <michael@merickel.org> | 2018-11-12 18:43:20 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2018-11-12 18:43:20 -0600 |
| commit | 2d32ae81abc473fb21b4bc42aec479c656693f1c (patch) | |
| tree | 6ed2c7b253691db5f47cf8021c58b40f144f26bc /CHANGES.rst | |
| parent | c8f88fe53338b2b2675ef4497d0704a1542112ec (diff) | |
| download | pyramid-2d32ae81abc473fb21b4bc42aec479c656693f1c.tar.gz pyramid-2d32ae81abc473fb21b4bc42aec479c656693f1c.tar.bz2 pyramid-2d32ae81abc473fb21b4bc42aec479c656693f1c.zip | |
use code blocks
Diffstat (limited to 'CHANGES.rst')
| -rw-r--r-- | CHANGES.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 1790bb69f..7772ac7e2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -17,7 +17,9 @@ Features ``config.include(..., route_prefix=...)`` or ``with config.route_prefix_context(...)``. This can be done by specifying an empty pattern and setting the new argument - ``inherit_slash=True``. For example:: + ``inherit_slash=True``. For example: + + .. code-block:: python with config.route_prefix_context('/users'): config.add_route('users', '', inherit_slash=True) |
