From 2d32ae81abc473fb21b4bc42aec479c656693f1c Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Mon, 12 Nov 2018 18:43:20 -0600 Subject: use code blocks --- CHANGES.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3