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
b99b2c64
Commit
b99b2c64
authored
Nov 14, 2016
by
Jason Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a bug in example code
parent
bc5ab4e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
adding_a_new_model_backend.rst
doc/adding_a_new_model_backend.rst
+1
-1
No files found.
doc/adding_a_new_model_backend.rst
View file @
b99b2c64
...
@@ -48,7 +48,7 @@ Extending BaseModelView
...
@@ -48,7 +48,7 @@ Extending BaseModelView
columns = []
columns = []
for p in dir(self.model):
for p in dir(self.model):
attr = getattr(self.model)
attr = getattr(self.model
, p
)
if isinstance(attr, MyDbColumn):
if isinstance(attr, MyDbColumn):
columns.append(p)
columns.append(p)
...
...
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