summaryrefslogtreecommitdiff
path: root/docs/api/request.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api/request.rst')
-rw-r--r--docs/api/request.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/api/request.rst b/docs/api/request.rst
index 90dc2e26e..acd66ccf8 100644
--- a/docs/api/request.rst
+++ b/docs/api/request.rst
@@ -97,4 +97,19 @@
The template context for Pylons-style applications.
+ .. attribute:: matchdict
+
+ If a :term:`route` has matched during this request, this attribute will
+ be a dictionary containing the values matched by the URL pattern
+ associated with the route. If a route has not matched during this
+ request, the value of this attribute will be ``None``. See
+ :ref:`matchdict`.
+
+ .. attribute:: matched_route
+
+ If a :term:`route` has matched during this request, this attribute will
+ be an obect representing the route matched by the URL pattern
+ associated with the route. If a route has not matched during this
+ request, the value of this attribute will be ``None``. See
+ :ref:`matched_route`.