Clarified when ImageField attributes are set.

This commit is contained in:
John Parton 2024-04-29 09:32:46 -05:00 committed by Sarah Boyce
parent 160c0ab13a
commit 914bf69171
1 changed files with 4 additions and 4 deletions

View File

@ -1342,13 +1342,13 @@ following optional arguments:
.. attribute:: ImageField.height_field .. attribute:: ImageField.height_field
Name of a model field which will be auto-populated with the height of the Name of a model field which is auto-populated with the height of the image
image each time the model instance is saved. each time an image object is set.
.. attribute:: ImageField.width_field .. attribute:: ImageField.width_field
Name of a model field which will be auto-populated with the width of the Name of a model field which is auto-populated with the width of the image
image each time the model instance is saved. each time an image object is set.
Requires the `Pillow`_ library. Requires the `Pillow`_ library.