summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-11-27 08:45:56 +0000
committerChris McDonough <chrism@agendaless.com>2009-11-27 08:45:56 +0000
commit925580d4cefde38afd98466b4834a586c9b4c7ef (patch)
tree2f0952743b2c12543b4e151eeef89961353b2b80 /docs
parent92960183c276a6b26b4187560d35da7f8dc565de (diff)
downloadpyramid-925580d4cefde38afd98466b4834a586c9b4c7ef.tar.gz
pyramid-925580d4cefde38afd98466b4834a586c9b4c7ef.tar.bz2
pyramid-925580d4cefde38afd98466b4834a586c9b4c7ef.zip
Add threadlocal to API.
Diffstat (limited to 'docs')
-rw-r--r--docs/api/threadlocal.rst11
-rw-r--r--docs/index.rst1
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/api/threadlocal.rst b/docs/api/threadlocal.rst
new file mode 100644
index 000000000..0c4a5a1ca
--- /dev/null
+++ b/docs/api/threadlocal.rst
@@ -0,0 +1,11 @@
+.. _configuration_module:
+
+:mod:`repoze.bfg.configuration`
+-------------------------------
+
+.. automodule:: repoze.bfg.threadlocal
+
+ .. autofunction:: get_current_request()
+
+ .. autofunction:: get_current_registry()
+
diff --git a/docs/index.rst b/docs/index.rst
index 97261b27a..da05ef4ba 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -77,6 +77,7 @@ Per-module :mod:`repoze.bfg` API documentation.
api/security
api/settings
api/testing
+ api/threadlocal
api/traversal
api/url
api/view