From 914bf6917157923783ad2ea4c8a60115738a203c Mon Sep 17 00:00:00 2001 From: John Parton Date: Mon, 29 Apr 2024 09:32:46 -0500 Subject: [PATCH] Clarified when ImageField attributes are set. --- docs/ref/models/fields.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index c6052123fc823..ba46726ab8c32 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -1342,13 +1342,13 @@ following optional arguments: .. attribute:: ImageField.height_field - Name of a model field which will be auto-populated with the height of the - image each time the model instance is saved. + Name of a model field which is auto-populated with the height of the image + each time an image object is set. .. attribute:: ImageField.width_field - Name of a model field which will be auto-populated with the width of the - image each time the model instance is saved. + Name of a model field which is auto-populated with the width of the image + each time an image object is set. Requires the `Pillow`_ library.