Code

Ticket #10862: 10862.diff

File 10862.diff, 629 bytes (added by timo, 4 years ago)

linked height/width attributes; removed seemingly out of place reference to managing files

Line 
1Index: docs/ref/models/fields.txt
2===================================================================
3--- docs/ref/models/fields.txt  (revision 12063)
4+++ docs/ref/models/fields.txt  (working copy)
5@@ -631,8 +631,8 @@
6     image each time the model instance is saved.
7 
8 In addition to the special attributes that are available for :class:`FileField`,
9-an :class:`ImageField` also has ``File.height`` and ``File.width`` attributes.
10-See :ref:`topics-files`.
11+an :class:`ImageField` also has :attr:`~django.core.files.File.height` and
12+:attr:`~django.core.files.File.width` attributes.
13 
14 Requires the `Python Imaging Library`_.
15