mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Clarified when ImageField attributes are set.
This commit is contained in:
parent
160c0ab13a
commit
914bf69171
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user