summaryrefslogtreecommitdiff
path: root/docs/ref/files
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/files')
-rw-r--r--docs/ref/files/file.txt6
-rw-r--r--docs/ref/files/index.txt2
-rw-r--r--docs/ref/files/storage.txt2
3 files changed, 2 insertions, 8 deletions
diff --git a/docs/ref/files/file.txt b/docs/ref/files/file.txt
index 1ea5865ea7..f4ae59f241 100644
--- a/docs/ref/files/file.txt
+++ b/docs/ref/files/file.txt
@@ -1,5 +1,3 @@
-.. _ref-files-file:
-
The ``File`` object
===================
@@ -20,14 +18,14 @@ Django's ``File`` has the following attributes and methods:
The absolute path to the file's location on a local filesystem.
- :ref:`Custom file storage systems <howto-custom-file-storage>` may not store
+ :doc:`Custom file storage systems </howto/custom-file-storage>` may not store
files locally; files stored on these systems will have a ``path`` of
``None``.
.. attribute:: File.url
The URL where the file can be retrieved. This is often useful in
- :ref:`templates <topics-templates>`; for example, a bit of a template for
+ :doc:`templates </topics/templates>`; for example, a bit of a template for
displaying a ``Car`` (see above) might look like:
.. code-block:: html+django
diff --git a/docs/ref/files/index.txt b/docs/ref/files/index.txt
index 1d59d5fa23..171fcc6391 100644
--- a/docs/ref/files/index.txt
+++ b/docs/ref/files/index.txt
@@ -1,5 +1,3 @@
-.. _ref-files-index:
-
=============
File handling
=============
diff --git a/docs/ref/files/storage.txt b/docs/ref/files/storage.txt
index c8aafa8626..2b055bb60b 100644
--- a/docs/ref/files/storage.txt
+++ b/docs/ref/files/storage.txt
@@ -1,5 +1,3 @@
-.. _ref-files-storage:
-
File storage API
================