mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Merge branch 'ticket15695'
This commit is contained in:
commit
6a6f589bfe
6 changed files with 30 additions and 4 deletions
|
@ -190,6 +190,17 @@ All attributes should be considered read-only, unless stated otherwise below.
|
|||
URLconf for the current request, overriding the :setting:`ROOT_URLCONF`
|
||||
setting. See :ref:`how-django-processes-a-request` for details.
|
||||
|
||||
.. attribute:: HttpRequest.resolver_match
|
||||
|
||||
.. versionadded:: 1.5
|
||||
|
||||
An instance of :class:`~django.core.urlresolvers.ResolverMatch` representing
|
||||
the resolved url. This attribute is only set after url resolving took place,
|
||||
which means it's available in all views but not in middleware methods which
|
||||
are executed before url resolving takes place (like ``process_request``, you
|
||||
can use ``process_view`` instead).
|
||||
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue