Commit b8c9aa9c authored by c-bata's avatar c-bata

Fix func name on docstring

parent 29f33bb6
...@@ -356,7 +356,7 @@ class ImageUploadField(FileUploadField): ...@@ -356,7 +356,7 @@ class ImageUploadField(FileUploadField):
return secure_filename('%s-thumb.jpg' % name) return secure_filename('%s-thumb.jpg' % name)
class MyForm(BaseForm): class MyForm(BaseForm):
upload = ImageUploadField('File', thumbgen=prefix_name) upload = ImageUploadField('File', thumbgen=thumb_name)
:param thumbnail_size: :param thumbnail_size:
Tuple or (width, height, force) values. If not provided, thumbnail won't be created. Tuple or (width, height, force) values. If not provided, thumbnail won't be created.
......
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