Ticket #21044: 21044.diff

File 21044.diff, 1.2 KB (added by Tim Graham, 11 years ago)
  • docs/ref/exceptions.txt

    diff --git a/docs/ref/exceptions.txt b/docs/ref/exceptions.txt
    index bee8559..956ee5a 100644
    a b URL Resolver exceptions  
    131131
    132132URL Resolver exceptions are defined in :mod:`django.core.urlresolvers`.
    133133
     134Resolver404
     135--------------
     136.. exception:: Resolver404
     137
     138    The :exc:`Resolver404` exception is raised by
     139    :func:`django.core.urlresolvers.resolve()` if the path passed to
     140    ``resolve()`` doesn't map to a view. It's a subclass of
     141    :class:`django.http.Http404`
     142
    134143NoReverseMatch
    135144--------------
    136145.. exception:: NoReverseMatch
  • docs/ref/urlresolvers.txt

    diff --git a/docs/ref/urlresolvers.txt b/docs/ref/urlresolvers.txt
    index 87c0605..9419de8 100644
    a b worry about the ``urlconf`` parameter. The function returns a  
    102102:class:`ResolverMatch` object that allows you
    103103to access various meta-data about the resolved URL.
    104104
    105 If the URL does not resolve, the function raises an
    106 :class:`~django.http.Http404` exception.
     105If the URL does not resolve, the function raises a
     106:exc:`~django.core.urlresolvers.Resolver404` exception (subclass of
     107:class:`~django.http.Http404`) .
    107108
    108109.. class:: ResolverMatch
    109110
Back to Top