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
This commit is contained in:
Adrian Holovaty 2010-01-10 17:23:59 +00:00
parent 6502965d17
commit 665ac8779b
1 changed files with 2 additions and 2 deletions

View File

@ -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`_.