diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2010-01-10 17:23:59 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2010-01-10 17:23:59 +0000 |
| commit | 665ac8779bf313c6d0e179c78b6c68ca59ad4548 (patch) | |
| tree | d87b0d08bec533d9ba7fc3c5f841369b5a2a0583 /docs | |
| parent | 6502965d171265e8ae8f1a76302e134eaad3e270 (diff) | |
Fixed #10862 -- Clarified confusing documentation about ImageField height/width. Thanks, mw and timo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/fields.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index d53cbead21..e49aca431f 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -653,8 +653,8 @@ image. Has two extra optional arguments: image each time the model instance is saved. In addition to the special attributes that are available for :class:`FileField`, -an :class:`ImageField` also has ``File.height`` and ``File.width`` attributes. -See :ref:`topics-files`. +an :class:`ImageField` also has :attr:`~django.core.files.File.height` and +:attr:`~django.core.files.File.width` attributes. Requires the `Python Imaging Library`_. |
