mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Fixed #7127 -- Fixed incorrect docstring for page_not_found() view. Thanks, kcarnold and Simon Greenhill
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
fbeec87b62
commit
16482911fd
@ -68,8 +68,7 @@ def shortcut(request, content_type_id, object_id):
|
|||||||
|
|
||||||
def page_not_found(request, template_name='404.html'):
|
def page_not_found(request, template_name='404.html'):
|
||||||
"""
|
"""
|
||||||
Default 404 handler, which looks for the requested URL in the redirects
|
Default 404 handler.
|
||||||
table, redirects if found, and displays 404 page if not redirected.
|
|
||||||
|
|
||||||
Templates: `404.html`
|
Templates: `404.html`
|
||||||
Context:
|
Context:
|
||||||
|
Loading…
Reference in New Issue
Block a user