Commit 35963bcc authored by Paul Brown's avatar Paul Brown

Merge pull request #1157 from c-bata/modify-sample-code-at-intro

Fix a sample code at introduction
parents 572f1d39 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(CustomView(name='Analytics', endpoint='analytics'))
admin.add_view(AnalyticsView(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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment