Kaydet (Commit) 6364df68 authored tarafından Marten Kenbeek's avatar Marten Kenbeek

Refs #24127 -- Added documentation for HttpRequest.current_app.

üst aed437d5
......@@ -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
-------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment