summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarten Kenbeek <marten.knbk@gmail.com>2015-06-25 19:22:58 +0200
committerMarten Kenbeek <marten.knbk@gmail.com>2015-06-25 19:54:50 +0200
commit6364df68879efc0d9451d6427e34b4542e3d7e0b (patch)
tree13b0f8510d1ef9c9daa4facc56322c54a674f499 /docs
parentaed437d56738698e9f33f80bcce09906de33f847 (diff)
Refs #24127 -- Added documentation for HttpRequest.current_app.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/request-response.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
index 6656de5321..fbc83bc379 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -200,6 +200,13 @@ All attributes should be considered read-only, unless stated otherwise below.
are executed before url resolving takes place (like ``process_request``, you
can use ``process_view`` instead).
+.. attribute:: HttpRequest.current_app
+
+ .. versionadded:: 1.8
+
+ Not defined by Django itself, but if set, the :ttag:`url` template tag
+ will use its value as the ``current_app`` argument to
+ :func:`~django.core.urlresolvers.reverse()`.
Methods
-------