Commit 1c63ca96 authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #805 from jmagnusson/docfix

Fix misleading documentation
parents 2e534f03 919ecec9
...@@ -310,7 +310,7 @@ class ImageUploadField(FileUploadField): ...@@ -310,7 +310,7 @@ class ImageUploadField(FileUploadField):
upload = FileUploadField('File', namegen=prefix_name) upload = FileUploadField('File', namegen=prefix_name)
:param allowed_extensions: :param allowed_extensions:
List of allowed extensions. If not provided, will allow any file. List of allowed extensions. If not provided, then gif, jpg, jpeg, png and tiff will be allowed.
:param max_size: :param max_size:
Tuple of (width, height, force) or None. If provided, Flask-Admin will Tuple of (width, height, force) or None. If provided, Flask-Admin will
resize image to the desired size. resize image to the desired size.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment