The best admin interface framework for Flask. With scaffolding for MongoEngine, Django and SQLAlchemy.
Branch: master
Clone or download
syrusakbary Merge pull request #142 from orthographic-pedant/spell_check/administ…
…rative

Fixed typographical error, changed adminstrative to administrative in README.
Latest commit e325e57 Oct 1, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
babel Changed to SuperAdmin version Aug 17, 2012
doc Fixed doc index Aug 25, 2012
examples Merge pull request #132 from daniellawrence/fix_example_quickstart_de… Dec 4, 2014
flask_superadmin Fix IntegrityError when deleting objects with foreign keys Aug 21, 2015
screenshots Changed screenshot name Aug 17, 2012
.gitignore Removed and ignore mo files from repository Jan 25, 2014
.gitmodules Removed theme reference. Mar 21, 2012
.travis.yml include mongodb in the travis config Jul 4, 2013
AUTHORS Added @noirbizarre to contributors. Jan 25, 2014
Gruntfile.js
LICENSE Update LICENSE Aug 17, 2012
MANIFEST.in Changed to SuperAdmin version Aug 17, 2012
Makefile Changed to SuperAdmin version Aug 17, 2012
README.rst Fixed typographical error, changed adminstrative to administrative in… Sep 30, 2015
TODO.txt Update TODO.txt Aug 17, 2012
babel.cfg Added building scripts for translation. Aug 26, 2012
logo.png
requirements.txt Flask-WTF 0.9+ compatibility (drop support for earlier versions) Jan 25, 2014
setup.cfg tests base + cleanup + comments Jul 3, 2013
setup.py Flask-WTF 0.9+ compatibility (drop support for earlier versions) Jan 25, 2014

README.rst

Flask-SuperAdmin

Join the chat at https://gitter.im/syrusakbary/Flask-SuperAdmin https://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 administrative 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 administrative 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.