summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2021-01-07 12:51:59 +0100
committerGitHub <noreply@github.com>2021-01-07 12:51:59 +0100
commit3eb98743dcaa0b7abd2d5832cba8cc9cb586a964 (patch)
treed00f5e53ed6838d65cb63105eec58c2e85b9841b /docs
parent0a802233ec1421e5e59a486be69daef9b112fd0d (diff)
Fixed #32315 -- Doc'd FieldFile.path.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/fields.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index f9291d72d5..a315402347 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -945,6 +945,12 @@ The name of the file including the relative path from the root of the
:class:`~django.core.files.storage.Storage` of the associated
:class:`~django.db.models.FileField`.
+.. attribute:: FieldFile.path
+
+A read-only property to access the file's local filesystem path by calling the
+:meth:`~django.core.files.storage.Storage.path` method of the underlying
+:class:`~django.core.files.storage.Storage` class.
+
.. attribute:: FieldFile.size
The result of the underlying :attr:`Storage.size()