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:
parent
6502965d17
commit
665ac8779b
|
@ -653,8 +653,8 @@ image. Has two extra optional arguments:
|
||||||
image each time the model instance is saved.
|
image each time the model instance is saved.
|
||||||
|
|
||||||
In addition to the special attributes that are available for :class:`FileField`,
|
In addition to the special attributes that are available for :class:`FileField`,
|
||||||
an :class:`ImageField` also has ``File.height`` and ``File.width`` attributes.
|
an :class:`ImageField` also has :attr:`~django.core.files.File.height` and
|
||||||
See :ref:`topics-files`.
|
:attr:`~django.core.files.File.width` attributes.
|
||||||
|
|
||||||
Requires the `Python Imaging Library`_.
|
Requires the `Python Imaging Library`_.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue