[Changeset] r12162 - django/trunk/docs/ref/models

0 views
Skip to first unread message

nor...@djangoproject.com

unread,
Jan 10, 2010, 12:24:00 PM1/10/10
to django-...@googlegroups.com
Author: adrian
Date: 2010-01-10 11:23:59 -0600 (Sun, 10 Jan 2010)
New Revision: 12162

Modified:
django/trunk/docs/ref/models/fields.txt
Log:
Fixed #10862 -- Clarified confusing documentation about ImageField height/width. Thanks, mw and timo

Modified: django/trunk/docs/ref/models/fields.txt
===================================================================
--- django/trunk/docs/ref/models/fields.txt 2010-01-10 17:22:30 UTC (rev 12161)
+++ django/trunk/docs/ref/models/fields.txt 2010-01-10 17:23:59 UTC (rev 12162)
@@ -653,8 +653,8 @@
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`_.

Reply all
Reply to author
Forward
0 new messages