mirror of
https://github.com/django/django.git
synced 2025-03-26 09:10:50 +00:00
[1.6.x] Fixed #23965 -- Mentioned that FieldFile inherits from File
Backport of 5281d9620d13386fd4403f7aa6b9a2afd9b5a93f from master
This commit is contained in:
parent
62048bcd62
commit
e24ec760f1
@ -660,8 +660,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