Ticket #10862: 10862.diff

File 10862.diff, 629 bytes (added by Tim Graham, 8 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.
    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.
    637637Requires the `Python Imaging Library`_.
Back to Top