summaryrefslogtreecommitdiff
path: root/docs/ref/files/file.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/files/file.txt')
-rw-r--r--docs/ref/files/file.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/ref/files/file.txt b/docs/ref/files/file.txt
index d6824af18c..6c9b93f1d6 100644
--- a/docs/ref/files/file.txt
+++ b/docs/ref/files/file.txt
@@ -1,3 +1,4 @@
+===================
The ``File`` object
===================
@@ -7,7 +8,7 @@ for basic file handling in Django.
.. currentmodule:: django.core.files
The ``File`` Class
-------------------
+==================
.. class:: File(file_object)
@@ -90,7 +91,7 @@ The ``File`` Class
.. currentmodule:: django.core.files.base
The ``ContentFile`` Class
--------------------------
+=========================
.. class:: ContentFile(File)
@@ -107,7 +108,7 @@ The ``ContentFile`` Class
.. currentmodule:: django.core.files.images
The ``ImageFile`` Class
------------------------
+=======================
.. class:: ImageFile(file_object)
@@ -127,7 +128,7 @@ The ``ImageFile`` Class
.. currentmodule:: django.core.files
Additional methods on files attached to objects
------------------------------------------------
+===============================================
Any :class:`File` that is associated with an object (as with ``Car.photo``,
below) will also have a couple of extra methods: