minor fix in ImageField docstring

This commit is contained in:
Bastien Gérard
2018-11-04 22:13:54 +01:00
parent 26e2fc8fd4
commit 23324f0f87
2 changed files with 5 additions and 7 deletions

View File

@@ -1867,12 +1867,9 @@ class ImageField(FileField):
"""
A Image File storage field.
@size (width, height, force):
max size to store images, if larger will be automatically resized
ex: size=(800, 600, True)
@thumbnail (width, height, force):
size to generate a thumbnail
:param size: max size to store images, provided as (width, height, force)
if larger, it will be automatically resized (ex: size=(800, 600, True))
:param thumbnail_size: size to generate a thumbnail, provided as (width, height, force)
.. versionadded:: 0.6
"""