mirror of https://github.com/django/django.git
Fixed #23965 -- Mentioned that FieldFile inherits from File
This commit is contained in:
parent
3bb52c5019
commit
5281d9620d
|
@ -685,8 +685,9 @@ FileField and FieldFile
|
||||||
|
|
||||||
When you access a :class:`~django.db.models.FileField` on a model, you are
|
When you access a :class:`~django.db.models.FileField` on a model, you are
|
||||||
given an instance of :class:`FieldFile` as a proxy for accessing the underlying
|
given an instance of :class:`FieldFile` as a proxy for accessing the underlying
|
||||||
file. This class has several attributes and methods that can be used to
|
file. In addition to the functionality inherited from
|
||||||
interact with file data:
|
:class:`django.core.files.File`, this class has several attributes and methods
|
||||||
|
that can be used to interact with file data:
|
||||||
|
|
||||||
.. attribute:: FieldFile.url
|
.. attribute:: FieldFile.url
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue