Skip to main content

Simple and extensible admin interface framework for Flask

Project description

Flask-Admin

Introduction

This is library for building adminstrative interface on top of Flask framework.

Instead of providing simple scaffolding for the SQLAlchemy models, Flask-Admin provides tools that can be used to build adminstrative interface of any complexity, using consistent look and feel.

Small example (Flask initialization omitted):

app = Flask(__name__)

admin = Admin()
admin.add_view(ModelView(User, db.session))
admin.add_view(GalleryManager(name='Photos', category='Cats'))
admin.setup_app(app)

If you’re looking for 0.x version of the Flask-Admin written by Andy Wilson, check here.

Documentation

Flask-Admin is extensively documented, you can find documentation here.

3rd Party Stuff

Flask-Admin is built with help of Twitter Bootstrap and Chosen.

Kudos

Some ideas were taken from the Flask-Admin by Andy Wilson.

Examples

Library comes with few examples, you can find them in examples directory.

Changelog

1.0.2

  • Peewee model backend

  • Inline form administration interface for models a-la Django

  • Mass actions - methods that work with more than one item (for example - mass delete for models or files)

  • SQLAlchemy form scaffolding is now independent from the wtforms.ext.sqlalchemy helpers

  • Added ability to mount administrative interface as a top-level folder

  • Administrative interface can now be mounted as a subdomain

  • Can now use FileField in model admin

  • Revamped model templates, much more customizable now

  • Model list view column formatting callbacks

  • Lots of bugfixes

1.0.1

  • Fixed setup manifest

1.0.0

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Flask-Admin-1.0.2.zip (140.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page