Skip to main content

The best admin interface framework for Python. With scaffolding for MongoEngine, Django and SQLAlchemy.

Project description

https://secure.travis-ci.org/SyrusAkbary/Flask-SuperAdmin.png?branch=master

Flask-Superadmin is the best admin interface framework for Flask. As good as Django admin.

Batteries included:

  • Admin interface

  • Scaffolding for MongoEngine, Django and SQLAlchemy

  • File administrator (optional)

Requirements:

Admin interface

Influenced heavily by the Django admin, provides easy create/edit/delete functionality for your project’s models (MongoEngine, Django or SQLAlchemy).

https://raw.github.com/SyrusAkbary/Flask-SuperAdmin/master/screenshots/model-list.png https://raw.github.com/SyrusAkbary/Flask-SuperAdmin/master/screenshots/model-edit.png

Introduction

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

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

Small example (Flask initialization omitted):

from flask.ext.superadmin import Admin, model

app = Flask(__name__)
admin = Admin(app)

# For SQLAlchemy (User is a SQLAlchemy Model/Table)
admin.register(User, session=db.session)

# For MongoEngine Documents (User is a MongoEngine Document)
admin.register(User)

# For Django Models (User is a Django Model)
admin.register(User)


# Adding a custom view
admin.add_view(CustomView(name='Photos', category='Cats'))

admin.setup_app(app)

Installation

For installing you have to do:

pip install Flask-SuperAdmin

Or:

python setup.py install

Examples

Library comes with a lot of examples, you can find them in examples directory.

Documentation

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

3rd Party Stuff

Flask-SuperAdmin is built with help of Twitter Bootstrap, Chosen, and jQuery.

Kudos

This library is a supervitamined fork of the Flask-Admin package by Serge S. Koval.

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-SuperAdmin-1.7.tar.gz (184.1 kB view details)

Uploaded Source

File details

Details for the file Flask-SuperAdmin-1.7.tar.gz.

File metadata

File hashes

Hashes for Flask-SuperAdmin-1.7.tar.gz
Algorithm Hash digest
SHA256 8d3e7be1641bcd313c29bcd38c93a2b2705f138d652195502d3a0342434a209c
MD5 0414c7b9429e0b6279af689fb416028c
BLAKE2b-256 f7586bd6906dbd716a7c8757054c02cad7676d65751a345cc3db436396a0c5bb

See more details on using hashes here.

Supported by

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