Merge branch 'ticket15695'

This commit is contained in:
Florian Apolloner 2012-09-29 21:57:50 +02:00
commit 6a6f589bfe
6 changed files with 30 additions and 4 deletions

View file

@ -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
-------