summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-02-24 15:17:40 -0500
committerChris McDonough <chrism@plope.com>2012-02-24 15:17:40 -0500
commitf077a0de559a4df2a1efb5867a22eb33fc69407a (patch)
treeb2cb0882589b11a32e76d44f595902584f0139fd
parent01eac92dcdbe0d51b75783350997e69a7613da9e (diff)
downloadpyramid-f077a0de559a4df2a1efb5867a22eb33fc69407a.tar.gz
pyramid-f077a0de559a4df2a1efb5867a22eb33fc69407a.tar.bz2
pyramid-f077a0de559a4df2a1efb5867a22eb33fc69407a.zip
add warning
-rw-r--r--pyramid/request.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyramid/request.py b/pyramid/request.py
index c15ed7d8e..af1dfee2b 100644
--- a/pyramid/request.py
+++ b/pyramid/request.py
@@ -330,7 +330,8 @@ class Request(BaseRequest, DeprecatedRequestMethodsMixin, URLMethodsMixin,
@reify
def tmpl_context(self):
- """ Template context (for Pylons apps) """
+ # docs-deprecated template context for Pylons-like apps; do not
+ # remove.
return TemplateContext()
@reify