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
704d8d9b
Commit
704d8d9b
authored
Oct 07, 2018
by
PJ Janse van Rensburg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flake8 fixes
parent
ef02a293
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
base.py
flask_admin/base.py
+1
-1
menu.py
flask_admin/menu.py
+0
-1
No files found.
flask_admin/base.py
View file @
704d8d9b
...
@@ -9,7 +9,7 @@ from flask_admin._compat import with_metaclass, as_unicode
...
@@ -9,7 +9,7 @@ from flask_admin._compat import with_metaclass, as_unicode
from
flask_admin
import
helpers
as
h
from
flask_admin
import
helpers
as
h
# For compatibility reasons import MenuLink
# For compatibility reasons import MenuLink
from
flask_admin.menu
import
MenuCategory
,
MenuView
,
MenuLink
,
SubMenuCategory
# noqa: F401
from
flask_admin.menu
import
MenuCategory
,
MenuView
,
MenuLink
,
SubMenuCategory
# noqa: F401
def
expose
(
url
=
'/'
,
methods
=
(
'GET'
,)):
def
expose
(
url
=
'/'
,
methods
=
(
'GET'
,)):
...
...
flask_admin/menu.py
View file @
704d8d9b
...
@@ -147,4 +147,3 @@ class SubMenuCategory(MenuCategory):
...
@@ -147,4 +147,3 @@ class SubMenuCategory(MenuCategory):
def
__init__
(
self
,
*
args
,
**
kwargs
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
super
(
SubMenuCategory
,
self
)
.
__init__
(
*
args
,
**
kwargs
)
super
(
SubMenuCategory
,
self
)
.
__init__
(
*
args
,
**
kwargs
)
self
.
class_name
+=
' dropdown-submenu'
self
.
class_name
+=
' dropdown-submenu'
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