summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-02-24 15:15:18 -0500
committerChris McDonough <chrism@plope.com>2012-02-24 15:15:18 -0500
commit01eac92dcdbe0d51b75783350997e69a7613da9e (patch)
treee1c29e45a04fee19d8cbdc3bd2e8b0f0b7d67f5f /docs
parent905bcaaec5f71f9b2df4204ed91c1628f854e0ff (diff)
downloadpyramid-01eac92dcdbe0d51b75783350997e69a7613da9e.tar.gz
pyramid-01eac92dcdbe0d51b75783350997e69a7613da9e.tar.bz2
pyramid-01eac92dcdbe0d51b75783350997e69a7613da9e.zip
docs-deprecate tmpl_context
Diffstat (limited to 'docs')
-rw-r--r--docs/api/request.rst4
-rw-r--r--docs/narr/webob.rst4
-rw-r--r--docs/whatsnew-1.3.rst8
3 files changed, 10 insertions, 6 deletions
diff --git a/docs/api/request.rst b/docs/api/request.rst
index e1b233fbc..1112ea069 100644
--- a/docs/api/request.rst
+++ b/docs/api/request.rst
@@ -145,10 +145,6 @@
``request.session`` attribute will cause a
:class:`pyramid.exceptions.ConfigurationError` to be raised.
- .. attribute:: tmpl_context
-
- The template context for Pylons-style applications.
-
.. attribute:: matchdict
If a :term:`route` has matched during this request, this attribute will
diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst
index 21c368350..a8c11acec 100644
--- a/docs/narr/webob.rst
+++ b/docs/narr/webob.rst
@@ -117,8 +117,8 @@ Special Attributes Added to the Request by :app:`Pyramid`
In addition to the standard :term:`WebOb` attributes, :app:`Pyramid` adds
special attributes to every request: ``context``, ``registry``, ``root``,
``subpath``, ``traversed``, ``view_name``, ``virtual_root``,
-``virtual_root_path``, ``session``, and ``tmpl_context``, ``matchdict``, and
-``matched_route``. These attributes are documented further within the
+``virtual_root_path``, ``session``, ``matchdict``, and ``matched_route``.
+These attributes are documented further within the
:class:`pyramid.request.Request` API documentation.
.. index::
diff --git a/docs/whatsnew-1.3.rst b/docs/whatsnew-1.3.rst
index daa1ffdec..ac01bb140 100644
--- a/docs/whatsnew-1.3.rst
+++ b/docs/whatsnew-1.3.rst
@@ -476,6 +476,14 @@ Deprecations
Configurator were removed from the documentation. They have been
deprecated since Pyramid 1.1.
+- All references to the ``tmpl_context`` request variable were removed from
+ the docs. Its existence in Pyramid is confusing for people who were never
+ Pylons users. It was added as a porting convenience for Pylons users in
+ Pyramid 1.0, but it never caught on because the Pyramid rendering system is
+ a lot different than Pylons' was, and alternate ways exist to do what it
+ was designed to offer in Pylons. It will continue to exist "forever" but
+ it will not be recommended or mentioned in the docs.
+
Documentation Enhancements
--------------------------