diff options
| author | Gabriel Hurley <gabehr@gmail.com> | 2010-12-05 07:35:10 +0000 |
|---|---|---|
| committer | Gabriel Hurley <gabehr@gmail.com> | 2010-12-05 07:35:10 +0000 |
| commit | 2dd594dff4f68f36b345f454738c35f01e5dd48e (patch) | |
| tree | bc29dc50d2e85732f671e8e06498790720d57e75 /docs/topics/files.txt | |
| parent | 0ab50aad36f849d710a0ac053a99eb058e489e24 (diff) | |
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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/files.txt')
| -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 ============ |
