Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
b8c9aa9c
Commit
b8c9aa9c
authored
Mar 02, 2016
by
c-bata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix func name on docstring
parent
29f33bb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
upload.py
flask_admin/form/upload.py
+1
-1
No files found.
flask_admin/form/upload.py
View file @
b8c9aa9c
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment