Add back a colon that's needed but was removed in r14706
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f26dae8fb2
commit
165a860f87
@ -842,7 +842,7 @@ If the URL does not resolve, the function raises an
|
|||||||
:class:`~django.http.Http404` exception.
|
:class:`~django.http.Http404` exception.
|
||||||
|
|
||||||
For example, it can be used for testing if a view would raise a ``Http404``
|
For example, it can be used for testing if a view would raise a ``Http404``
|
||||||
error before redirecting to it:
|
error before redirecting to it::
|
||||||
|
|
||||||
from urlparse import urlparse
|
from urlparse import urlparse
|
||||||
from django.core.urlresolvers import resolve
|
from django.core.urlresolvers import resolve
|
||||||
|
Loading…
x
Reference in New Issue
Block a user