From 665ac8779bf313c6d0e179c78b6c68ca59ad4548 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 10 Jan 2010 17:23:59 +0000 Subject: [PATCH] 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 --- docs/ref/models/fields.txt | 4 ++-- 1 file 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`_.