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
0f2fa4d7
Commit
0f2fa4d7
authored
Dec 25, 2015
by
c-bata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify a sample code at introduction
parent
29f33bb6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
introduction.rst
doc/introduction.rst
+1
-1
No files found.
doc/introduction.rst
View file @
0f2fa4d7
...
...
@@ -302,7 +302,7 @@ example, to add a page that displays some analytics data from a 3rd-party API::
def index(self):
return self.render('analytics_index.html')
admin.add_view(
Custom
View(name='Analytics', endpoint='analytics'))
admin.add_view(
Analytics
View(name='Analytics', endpoint='analytics'))
This will add a link to the navbar for your view. Notice that
it is served at '/', the root URL. This is a restriction on standalone views: at
...
...
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