summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarten Kenbeek <marten.knbk@gmail.com>2015-06-25 19:22:58 +0200
committerTim Graham <timograham@gmail.com>2015-06-25 14:11:16 -0400
commitae93aeed2b87c4a6dd9290146aaee5dc57d07bfb (patch)
tree134846b7127cbee746607fcf021a1c42296580ce /docs
parentae1d663b7913f6da233c55409c4973248372d302 (diff)
[1.8.x] Refs #24127 -- Added documentation for HttpRequest.current_app.
Backport of 6364df68879efc0d9451d6427e34b4542e3d7e0b from master
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 44f5b9c65c..6dd877efe4 100644
--- a/docs/ref/request-response.txt
+++ b/docs/ref/request-response.txt
@@ -209,6 +209,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
-------