Ticket #10862: 10862.diff

File 10862.diff, 629 bytes (added by Tim Graham, 15 years ago)

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

  • docs/ref/models/fields.txt

     
    631631    image each time the model instance is saved.
    632632
    633633In addition to the special attributes that are available for :class:`FileField`,
    634 an :class:`ImageField` also has ``File.height`` and ``File.width`` attributes.
    635 See :ref:`topics-files`.
     634an :class:`ImageField` also has :attr:`~django.core.files.File.height` and
     635:attr:`~django.core.files.File.width` attributes.
    636636
    637637Requires the `Python Imaging Library`_.
    638638
Back to Top