mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.7.x] Fixed #23965 -- Mentioned that FieldFile inherits from File
Backport of 5281d9620d13386fd4403f7aa6b9a2afd9b5a93f from master
This commit is contained in:
parent
a80e4817a7
commit
284496e692
@ -689,8 +689,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…
x
Reference in New Issue
Block a user