Commit a09f4e7b authored by Paul Brown's avatar Paul Brown

Add import for Baseview and expose to baseview doc

parent 19025b97
...@@ -111,6 +111,7 @@ class BaseView(with_metaclass(AdminViewMeta, BaseViewClass)): ...@@ -111,6 +111,7 @@ class BaseView(with_metaclass(AdminViewMeta, BaseViewClass)):
Derive from this class to implement your administrative interface piece. For example:: Derive from this class to implement your administrative interface piece. For example::
from flask.ext.admin import BaseView, expose
class MyView(BaseView): class MyView(BaseView):
@expose('/') @expose('/')
def index(self): def index(self):
......
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