Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #10862 -- Clarified confusing documentation about ImageField he…

…ight/width. Thanks, mw and timo

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 665ac8779bf313c6d0e179c78b6c68ca59ad4548 1 parent 6502965
Adrian Holovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/models/fields.txt
4 docs/ref/models/fields.txt
View
@@ -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`_.
Please sign in to comment.
Something went wrong with that request. Please try again.