2
0
Эх сурвалжийг харах

Clarified when ImageField attributes are set.

John Parton 11 сар өмнө
parent
commit
914bf69171

+ 4 - 4
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.