summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJohn Parton <john.parton.iv@gmail.com>2024-04-29 09:32:46 -0500
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-05-02 10:04:55 +0200
commit914bf6917157923783ad2ea4c8a60115738a203c (patch)
tree632984cdf4b1be9c2cf703a73a66f96358768ce7 /docs
parent160c0ab13ac0378166f3e421884fc3c460dbca1b (diff)
Clarified when ImageField attributes are set.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/fields.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index c6052123fc..ba46726ab8 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.