Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.6.x] Fixed #21044 -- Documented django.core.urlresolvers.Resolver404

Thanks Keryn Knight for the suggestion.

Backport of eacf060 from master
  • Loading branch information...
commit 1dd061ad7705d2851bee5e78b9fed381130ec5f4 1 parent 622d5c7
Tim Graham authored
9  docs/ref/exceptions.txt
@@ -131,6 +131,15 @@ URL Resolver exceptions
131 131
 
132 132
 URL Resolver exceptions are defined in :mod:`django.core.urlresolvers`.
133 133
 
  134
+Resolver404
  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
+
134 143
 NoReverseMatch
135 144
 --------------
136 145
 .. exception:: NoReverseMatch
5  docs/ref/urlresolvers.txt
@@ -102,8 +102,9 @@ worry about the ``urlconf`` parameter. The function returns a
102 102
 :class:`ResolverMatch` object that allows you
103 103
 to access various meta-data about the resolved URL.
104 104
 
105  
-If the URL does not resolve, the function raises an
106  
-:class:`~django.http.Http404` exception.
  105
+If the URL does not resolve, the function raises a
  106
+:exc:`~django.core.urlresolvers.Resolver404` exception (a subclass of
  107
+:class:`~django.http.Http404`) .
107 108
 
108 109
 .. class:: ResolverMatch
109 110
 

0 notes on commit 1dd061a

Please sign in to comment.
Something went wrong with that request. Please try again.