1
0
mirror of https://github.com/django/django.git synced 2025-10-30 17:16:10 +00:00

[1.6.x] Fixed #23965 -- Mentioned that FieldFile inherits from File

Backport of 5281d9620d from master
This commit is contained in:
Tim Graham
2014-12-06 11:51:32 -05:00
parent 62048bcd62
commit e24ec760f1

View File

@@ -660,8 +660,9 @@ FileField and FieldFile
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
file. This class has several attributes and methods that can be used to
interact with file data:
file. In addition to the functionality inherited from
:class:`django.core.files.File`, this class has several attributes and methods
that can be used to interact with file data:
.. attribute:: FieldFile.url