mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #19516 - Fixed remaining broken links.
Added -n to sphinx builds to catch issues going forward.
This commit is contained in:
@@ -227,8 +227,8 @@ field in the model::
|
||||
``UploadedFile`` objects
|
||||
========================
|
||||
|
||||
In addition to those inherited from :class:`File`, all ``UploadedFile`` objects
|
||||
define the following methods/attributes:
|
||||
In addition to those inherited from :class:`~django.core.files.File`, all
|
||||
``UploadedFile`` objects define the following methods/attributes:
|
||||
|
||||
.. attribute:: UploadedFile.content_type
|
||||
|
||||
|
||||
@@ -132,6 +132,8 @@ Customizing error views
|
||||
The 404 (page not found) view
|
||||
-----------------------------
|
||||
|
||||
.. function:: django.views.defaults.page_not_found(request, template_name='404.html')
|
||||
|
||||
When you raise an ``Http404`` exception, Django loads a special view devoted
|
||||
to handling 404 errors. By default, it's the view
|
||||
``django.views.defaults.page_not_found``, which either produces a very simple
|
||||
|
||||
Reference in New Issue
Block a user