mirror of https://github.com/django/django.git
[3.1.x] Fixed #32315 -- Doc'd FieldFile.path.
Backport of 3eb98743dc
from master
This commit is contained in:
parent
6d3a623f71
commit
2b443cb6c2
|
@ -929,6 +929,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.core.files.storage.Storage` of the associated
|
||||||
:class:`~django.db.models.FileField`.
|
: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
|
.. attribute:: FieldFile.size
|
||||||
|
|
||||||
The result of the underlying :attr:`Storage.size()
|
The result of the underlying :attr:`Storage.size()
|
||||||
|
|
Loading…
Reference in New Issue