summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/install.rst4
-rw-r--r--docs/narr/viewconfig.rst2
2 files changed, 5 insertions, 1 deletions
diff --git a/docs/narr/install.rst b/docs/narr/install.rst
index 882e76f11..a1c7b0d64 100644
--- a/docs/narr/install.rst
+++ b/docs/narr/install.rst
@@ -52,6 +52,10 @@ command:
$ sudo apt-get install python2.7-dev
+This command will install both the Python interpreter and its development
+header files. Note that the headers are required by some (optional) C
+extensions in software depended upon by Pyramid, not by Pyramid itself.
+
Once these steps are performed, the Python interpreter will usually be
invokable via ``python2.7`` from a shell prompt.
diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst
index 6373a8d26..799de768f 100644
--- a/docs/narr/viewconfig.rst
+++ b/docs/narr/viewconfig.rst
@@ -986,7 +986,7 @@ there's a ``should_cache`` GET or POST variable:
Note that the ``http_cache`` machinery will overwrite or add to caching
headers you set within the view itself unless you use ``prevent_auto``.
-You can also turn of the effect of ``http_cache`` entirely for the duration
+You can also turn off the effect of ``http_cache`` entirely for the duration
of a Pyramid application lifetime. To do so, set the
``PYRAMID_PREVENT_HTTP_CACHE`` environment variable or the
``pyramid.prevent_http_cache`` configuration value setting to a true value.