Commit 8ece8c43 authored by Andrey Voronov's avatar Andrey Voronov

Update README.rst

parent b3d21410
...@@ -17,7 +17,7 @@ Small example (Flask initialization omitted):: ...@@ -17,7 +17,7 @@ Small example (Flask initialization omitted)::
admin = Admin() admin = Admin()
admin.add_view(ModelView(User, db.session)) admin.add_view(ModelView(User, db.session))
admin.add_view(GalleryManager(name='Photos', category='Cats')) admin.add_view(GalleryManager(name='Photos', category='Cats'))
admin.setup_app(app) admin.init_app(app)
If you're looking for 0.x version of the Flask-Admin written by Andy Wilson, check `here <http://github.com/wilsaj/flask-admin-old>`_. If you're looking for 0.x version of the Flask-Admin written by Andy Wilson, check `here <http://github.com/wilsaj/flask-admin-old>`_.
......
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