Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #14713 -- documented that resolve can raise Http404. Thanks to …

…Adam for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 204253ed40dc6f56d666e5fb2568de1535c18fc3 1 parent fc47f8c
Alex Gaynor authored November 17, 2010
3  docs/topics/http/urls.txt
@@ -837,6 +837,9 @@ worry about the ``urlconf`` parameter. The function returns a
837 837
 :class:`django.core.urlresolvers.ResolverMatch` object that allows you
838 838
 to access various meta-data about the resolved URL.
839 839
 
  840
+If the URL does not resolve, the function raises an
  841
+:class:`~django.http.Http404` exception.
  842
+
840 843
 .. class:: ResolverMatch()
841 844
 
842 845
     .. attribute:: ResolverMatch.func
2  docs/topics/http/views.txt
@@ -95,6 +95,8 @@ to handle those errors.
95 95
 The Http404 exception
96 96
 ---------------------
97 97
 
  98
+.. class:: django.http.Http404()
  99
+
98 100
 When you return an error such as ``HttpResponseNotFound``, you're responsible
99 101
 for defining the HTML of the resulting error page::
100 102
 

0 notes on commit 204253e

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