diff options
| author | Gabriel Hurley <gabehr@gmail.com> | 2010-12-05 07:36:40 +0000 |
|---|---|---|
| committer | Gabriel Hurley <gabehr@gmail.com> | 2010-12-05 07:36:40 +0000 |
| commit | 8f2feb2e766e3380c2306c25aa3acae6b4b4a306 (patch) | |
| tree | a99f057c7b2ee6534430ec3528218697c62dc4f9 /docs/topics | |
| parent | a4d88f007c4df2b4225bedbe79b2865733b8117e (diff) | |
[1.2.X] Fixed #13162 and #11597 -- Improved the file handling documentation: Removed documentation of methods on django.core.files.File that did not exist, added documentation for undocumented methods and attributes that did exist, did a general cleanup of the text and organization, and added more metadata targets. Thanks to amenasse and tyrion.mx for the reports.
Backport of [14833] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/files.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/topics/files.txt b/docs/topics/files.txt index 619f7d3184..d1926c6ec1 100644 --- a/docs/topics/files.txt +++ b/docs/topics/files.txt @@ -50,9 +50,9 @@ it has all the methods and attributes described below. The ``File`` object =================== -Internally, Django uses a ``django.core.files.File`` any time it needs to -represent a file. This object is a thin wrapper around Python's `built-in file -object`_ with some Django-specific additions. +Internally, Django uses a :class:`django.core.files.File` instance any time it +needs to represent a file. This object is a thin wrapper around Python's +`built-in file object`_ with some Django-specific additions. .. _built-in file object: http://docs.python.org/library/stdtypes.html#bltin-file-objects @@ -68,8 +68,8 @@ using a Python built-in ``file`` object:: >>> f = open('/tmp/hello.world', 'w') >>> myfile = File(f) -Now you can use any of the ``File`` attributes and methods documented in -:doc:`/ref/files/file`. +Now you can use any of the documented attributes and methods +of the :class:`~django.core.files.File` class. File storage ============ |
