diff --git a/README.rst b/README.rst index e4343fcd..ab0e4754 100644 --- a/README.rst +++ b/README.rst @@ -51,7 +51,7 @@ using consistent look and feel. Small example (Flask initialization omitted):: - from flask.ext.superadmin import Admin, model + from flask.ext.superadmin import Admin app = Flask(__name__) admin = Admin(app) @@ -69,8 +69,6 @@ Small example (Flask initialization omitted):: # Adding a custom view admin.add_view(CustomView(name='Photos', category='Cats')) - admin.setup_app(app) - Installation ------------