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
d940c21d
Commit
d940c21d
authored
Mar 17, 2016
by
Jacob Magnusson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support Python 3.5
parent
c8fdf740
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
.travis.yml
.travis.yml
+1
-0
base.py
flask_admin/model/base.py
+1
-1
No files found.
.travis.yml
View file @
d940c21d
...
...
@@ -5,6 +5,7 @@ python:
-
"
2.7"
-
"
3.3"
-
"
3.4"
-
"
3.5"
env
:
-
WTFORMS_VERSION=1
...
...
flask_admin/model/base.py
View file @
d940c21d
...
...
@@ -2170,7 +2170,7 @@ class BaseModelView(BaseView, ActionsMixin):
# prevent validation issues due to submitting a single field
# delete all fields except the submitted fields and csrf token
for
field
in
form
:
for
field
in
list
(
form
)
:
if
(
field
.
name
in
request
.
form
)
or
(
field
.
name
==
'csrf_token'
):
pass
else
:
...
...
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