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
648d9b9f
Unverified
Commit
648d9b9f
authored
Jan 06, 2020
by
Serge S. Koval
Committed by
GitHub
Jan 06, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1922 from marksantcroos/master
Import secure_filename from utils.
parents
2fa37eef
91e16f38
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
upload.py
flask_admin/form/upload.py
+1
-1
base.py
flask_admin/model/base.py
+1
-1
No files found.
flask_admin/form/upload.py
View file @
648d9b9f
import
os
import
os.path
as
op
from
werkzeug
import
secure_filename
from
werkzeug
.utils
import
secure_filename
from
werkzeug.datastructures
import
FileStorage
from
wtforms
import
ValidationError
,
fields
...
...
flask_admin/model/base.py
View file @
648d9b9f
...
...
@@ -5,7 +5,7 @@ import mimetypes
import
time
from
math
import
ceil
from
werkzeug
import
secure_filename
from
werkzeug
.utils
import
secure_filename
from
flask
import
(
current_app
,
request
,
redirect
,
flash
,
abort
,
json
,
Response
,
get_flashed_messages
,
stream_with_context
)
...
...
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