mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
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.
|
||||
|
||||
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`_.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user